Read in files in a directory, search for a regular expression, modify the data, write the file.