Work on fs.list and fs.isDir