Updated find_strings_in_file method