code: def _read_object(self, path):
      '''read in object from file at `path`'''
      if not os.path.exists(path):
        return None
  
      if os.path.isdir(path):
        raise RuntimeError('%s is a directory, not a file.' % path)
  
      with open(path) as f:
        file_contents = f.read()
  
      return file_contentf _read_object(self, path):
      '''read in object from file at `path`'''
      if not os.path.exists(path):
        return None
  
      if os.path.isdir(path):
        raise RuntimeError('%s is a directory, not a file.' % path)
  
      with open(path) as f:
        file_contents = f.read()
  
      return file_contents
docs: read in object from file at `path`