removes index file