def read_configuration(): with open(configuration_file, 'r') as f: configuration = yaml.load(f) return configuration
def read_template(file_name): with open(file_name, 'r') as f: template = yaml.load(f) return template