code: def from_file(cls, name: str, mod_path: Tuple[str] = (".",),
                    description: str = None) -> "DataModel":
          
          with open(name, encoding="utf-8") as infile:
              yltxt = infile.read()
          return cls(yltxt, mod_path, description)
docs: Initialize the data model from a file with YANG library data.
  
          Args:
              name: Name of a file with YANG library data.
              mod_path: Tuple of directories where to look for YANG modules.
              description:  Optional description of the data model.
  
          Returns:
              The data model instance.
  
          Raises:
              The same exceptions as the class constructor above.