code: def fromfile(cls, path):
          
          parser = etree.XMLParser(remove_blank_text=True)
  
          return cls.fromtree(etree.parse(path, parser=parser))
docs: Creates a METS by parsing a file.
  
          :param str path: Path to a METS document.