the 2nd proc will need to be in the inbound thread.
In that proc, you’ll need to store the file name in the message, or as meta data.
I suggest storing it in the message itself. ..
The third proc will be as you descibe in the Route Post Procs, using the data in the message ..
Dennis