WADADeleteRecordID
you would need to create a recordset that returns the file names, use the WADADeleteRecordID form element to filter the ID column of the recordset
then hand code logic to loop through the recordset, and delete the files.
I tried that already the only problem is that it does not delete all the files it seems that it looks for form elements and not acepts me to put the recordset directly