Removes temporary index file