def GetFileObjectByPathSpec(self, path_spec):
    file_entry = self.GetFileEntryByPathSpec(path_spec)
    if file_entry is None:
      return
    return file_entry.GetFileObject()
Retrieves a file-like object for a path specification.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/file_system.py/FileSystem.GetFileObjectByPathSpec