import yaml


def read_yaml_file(filepath):
    """Return contents of a yaml file.

    Parameters
    ----------
    filepath : string
        The full path to the yaml file.

    Returns
    -------
    list of dictionaries
        The contents of the yaml file where each dictionary corresponds
        to a line in the file and the key of the dictionary is the name
        of the column.
    """
    with open(filepath, "r") as stream:
        contents = yaml.safe_load(stream)
    return contents