with open('config/models.yaml', 'r') as stream: ...