docs: def from_path(self, repo, path, name=None):
          """
          Create a new Item from a file path.
  
          :param repo: Repo object.
          :param path: File path.
          :param name: Name of item (to override original file name).
  
          :return: New Item class instance.
          """
          if name is None:
              name = os.path.basename(path)
          #FIXME: hack, there has to be a better way
          return Item.from_string(repo=repo, name=name, string=open(path).read())