Rename files from multiple folders read from an index file.