def readfile(name):
    """
    Reads the file with the name and returns it as a string.

    :param name: The file name
    :return: The data in teh file as string
    """
    try:
        # print ("READ", name)
        f = open(name)
        data = f.read().strip()
        f.close()
        return data
    except:
        return None