static L listDirAwarenessStyle(File dir) { ret map(func(File f) { Map map = litmap("n", f.getName(), "dir", f.isDirectory()); if (f.isFile()) map.put("l", f.length()); map.put("m", f.lastModified()); ret map; }, listFiles(dir)); }