docs: def from_path(path: str, encoding: str = 'utf-8', **kwargs) -> BELGraph:
      """Load a BEL graph from a file resource. This function is a thin wrapper around :func:`from_lines`.
  
      :param path: A file path
      :param encoding: the encoding to use when reading this file. Is passed to :code:`codecs.open`. See the python
       `docs <https://docs.python.org/3/library/codecs.html#standard-encodings>`_ for a list of standard encodings. For
       example, files starting with a UTF-8 BOM should use :code:`utf_8_sig`.
  
      The remaining keyword arguments are passed to :func:`pybel.io.line_utils.parse_lines`.
      """
      log.info('Loading from path: %s', path)
      graph = BELGraph(path=path)
      with codecs.open(os.path.expanduser(path), encoding=encoding) as lines:
          parse_lines(graph=graph, lines=lines, **kwargs)
      return graph