def find_this(search, filename=MODULE_PATH):
if not search:<EOL><INDENT>return<EOL><DEDENT>for line in open(str(filename)).readlines():<EOL><INDENT>if search.lower() in line.lower():<EOL><INDENT>line = line.split("<STR_LIT:=>")[<NUM_LIT:1>].strip()<EOL>if "<STR_LIT:'>" in line or '<STR_LIT:">' in line or '<STR_LIT>' in line:<EOL><INDENT>line = line.replace("<STR_LIT:'>", "<STR_LIT>").replace('<STR_LIT:">', '<STR_LIT>').replace('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>return line<EOL><DEDENT><DEDENT>
Take a string and a filename path string and return the found value.