def GetFileEntryByPathSpec(self, path_spec):
    if not self.FileEntryExistsByPathSpec(path_spec):
      return
    return os_file_entry.OSFileEntry(self._resolver_context, self, path_spec)
Retrieves a file entry for a path specification.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/os_file_system.py/OSFileSystem.GetFileEntryByPathSpec