code: def from_file(path):
          
          with open(path) as stream:
              obj = yaml.safe_load(stream)
          Config.lint(obj)
          return Config(config_dict=obj)
docs: Return a ``Config`` instance by reading a configuration file.