               parentA.appendChild(document.createTextNode(".."));
                $('#directories').append(parentA);
                $('#directoriesHeader').empty();
                if(children && children.length>0) {
                    $('#directoriesHeader').text("Directory (" + infoton.offset + " - " + infoton.length + " out of " + infoton.total + " total)");
                } else {
                    $('#directoriesHeader').text("Directory");
                }
                for(j in children) {
  