Replace references to FileEntry and DirectoryEntry with references to File and Directory