rm temp file from index