More detailed textfile insertion search and fixing problem with rf_string_count()