in reply to Altering an array with grep & map

You can avoid changing every filename by inserting or changing the base tag.