Best practice to save email attachments in a temp directory

I am looping through some emails with attachments. I want to save them to a temporary folder, the process the attachments, and then clean up after myself.

Any advice on best practices on how to do this?

Save attachments to a folder
then get files from directory
work them
then use File>delete activity to remove the file.