def read_text(filename):
    """
    filename: string, name of file to read
    Returns a string containing all file contents
    """
    in_file = open(filename, 'r')
    line = in_file.read()
    return line