move FileSystem.getDirectoryContents to Directory.getContents