def read_file(filename):
    """
    Reads in a file as utf-8.
    :param filename: Filepath to the file to be read.
    """
    with open(filename, 'r',encoding='utf-8') as file:
        return file.read()