The problem here is that "," is used as default delimiter for the file_*_read instructions.
This means the program I posted above will read every word between two "," seperatly and only delete thoses which contain the searchString. In this case this is just the search string itself.

By the way: This is the very reason why I asked how your file looks like. And it doesn't look like you said above at all.

But back to the problem:
There are multiple ways to solve this. The easiest would be to rework the file_DeleteRow function to your file structure.
But there is one problem remaining: Your posted file excerpt does not fit to your file saving code.
You have 6 arguments per object but in that excerpt are only 5.