def load(path: str) -> Dict: with open(path, 'rt') as file: config = yaml_load(file.read()) validate(config) return config