Assuming you're using CGI, it (should) delete the temp file for you when it's done with it. (search for the documantation of the "-private_tempfiles" option to see the details on controlling exactly when the "unlink" happens).
Comment on Re: How do I delete temporary upload files?