changing ext of index file