code: def graph_from_dot_file(path, encoding=None):
      
      with io.open(path, 'rt', encoding=encoding) as f:
          s = f.read()
      if not PY3:
          s = unicode(s)
      graphs = graph_from_dot_data(s)
      return graphs
docs: Load graphs from DOT file at `path`.
  
      @param path: to DOT file
      @param encoding: as passed to `io.open`.
          For example, `'utf-8'`.
  
      @return: Graphs that result from parsing.
      @rtype: `list` of `pydot.Dot`