def load_file(file_name):
    """ Load a file into a line list and remove the next line ending character.

    :param file_name: The name of the file to load
    :return: A list of file lines
    """
    data_file = open(file_name, 'r')
    data = [line[:-1] for line in data_file]
    data_file.close()
    return data