def read_file(filename):
    """

    read the text of a file

    :param filename: name of the file to read
    :return: text of the file
    """

    with open(filename, encoding="utf-8") as file:
        return file.read()