Adjust regex for detecting and changing filenames