Create new FileDocument or any object that is Generalization of FileDocument.
Then change attribute for DeleteAfterDownload to true
After that when you call download file client activity
your file will be deleted