removes unwanted index file