rename the index file.