deleting old index file