Deletes the index file