void refresh() {
try {
File commands = cmdFS.get(Path.get("/"));
List<File> newDirs = new ArrayList<File>();
newDirs.add(commands);
for (File path : commands.children()) {
if (path.children().iterator().hasNext()) {
newDirs.add(path);
}
}
dirs = newDirs;