def get_lines_from_file(inputfilename):
    """Reads all lines in a file and returns them as a list
    """
    inputfile = open(inputfilename, "r")
    lines = inputfile.readlines()
    inputfile.close()
    return lines