(*)remove temporary file after curl finished