def listify_text(filename):
    """Returns a list made from the lines of the text file passed it"""
    input_file = open(filename, 'r')
    input_data = input_file.read()  # read file as one big chunk
    input_file.close()
    input_data = input_data.splitlines()  # split file into list of lines
    return input_data