Is it possible to gain access to the incoming filename to allow it to be
saved to a log file on error?

Regards
Sam