def read_file(name):
    """
    :param name: name of the file to read
    :return: a list of strings, each element is a line in the file (in the same order)
    """
    with open(name, "r") as f:
        return f.read().splitlines()