Reset the index file