def read_file(filename):
    """Read a file and return lists

    Parameters:
    filename - a text file to read

    Returns:
    list: lines
    """

    with open(filename) as file:
        lines = file.read().splitlines()

    return lines