def file_to_list(file_name):
    """ makes a list out of the lines of a file

    Args:
        file_name: string - the name of the file

    Returns:
        a list - the lines of the file
    """
    lines = []
    with open(file_name) as f:
        lines = f.read().splitlines()
    return lines