remove temp file after use