code: def GetFileObject(self, data_stream_name=''):
      
      if (not data_stream_name and
          not self._fsntfs_file_entry.has_default_data_stream()):
        return None
  
      # Make sure to make the changes on a copy of the path specification, so we
      # do not alter self.path_spec.
      path_spec = copy.deepcopy(self.path_spec)
      if data_stream_name:
        setattr(path_spec, 'data_stream', data_stream_name)
  
      return resolver.Resolver.OpenFileObject(
          path_spec, resolver_context=self._resolver_context)
docs: Retrieves the file-like object.
  
      Args:
        data_stream_name (Optional[str]): data stream name, where an empty
            string represents the default data stream.
  
      Returns:
        NTFSFileIO: file-like object or None.