renames index file