deleted the old index file