Use "queryname.attachmentfiles" as a variable to use
alongside CFFILE.
"queryname" would be the name you assign to the CFPOP tag/POP
query.
This will contain a list of the attachment files/locations
... you can loop through the list and use the CFFILE tag to rename
it, if there is a file attached.