def read_file(filename):
    """Function reads contents of file
    
    Args:
        filename (str): Filename to read
    
    Returns:
        list: List with lines of text in file
    """
    with open(filename, "r", encoding="utf-8") as fp:
        return fp.readlines()