Modify files in replace_regex