code: def from_file(cls, file_path, validate=True):
          
          return xmlmap.load_xmlobject_from_file(file_path, xmlclass=cls, validate=validate)
docs: Creates a Python object from a XML file
  
          :param file_path: Path to the XML file
          :param validate: XML should be validated against the embedded XSD definition
          :type validate: Boolean
          :returns: the Python object