The [Files] Find and Replace module provides a method for applying content changes to text/data files. This can be used to manipulate or fix data in plain text files, such as replacing all occurrences of “flat-white paint” with “White Paint, Matte Finish”.
Full details of this module are available in the knowledgebase article: Using the [Files] Find and Replace module to modify file contents