Added getDirectoryContents and getFileName and getAllFiles impl