def read_file(filename):
    """
    Reads a file and returns the text
    
    :param filename: the name of the file to be read
    :return: A string object.
    """
    with open(filename, 'r') as f:
        text = f.read()
    return text