saving old index file temp