remove temp file after processing