import yaml


def read_yaml(filename):
    """ Reads a yaml file from disk """
    yaml_file = dict()
    with open(filename, 'r') as file:
        yaml_file = yaml.safe_load(file)
    return yaml_file