regardless of weather you can write the file names to the page at page load, the values are not sent when the delete button is pressed.
only the WADADeleteRecordID for element is passed when the delete button is pressed.
so you need to use the secondary recordset like i suggested before, and use the secondary recordset i nthe delette behavior.
In the code you paste above, I don't see any delete file behaviors, nor do I see the secondary recordset.