human
Search for string in txt file
assistant
Here is some code to search for string `blabla` in txt file 'example.txt'

datafile = file('example.txt')
found = False
for line in datafile:
    if (blabla in line):
        return True
return False

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.