FileSystem.hs -> getRecursiveContents optimized