def readAscii(filename):
    """  Read in an ASCII file and return the data
    """
    if type(filename) is str:
        fd = open(filename, 'r')
    else:
        fd = filename
    data = fd.read()
    fd.close()
    return data
