def searchFile(filename, searchterm):
    """ search file for text, return True or False"""
    fd = open (filename, 'r')
    data = fd.read()
    test = data.find(searchterm)
    if test < 0 :
        return False
    return True