Open file where path to file = payload

I open file like this


but I want to open file from variable payload like this

How to do that ?

You should be able to alter the inject node to specify your filename as msg.filename
Screen Shot 10-11-21 at 12.11 PM

Pass the file name as msg.filename. Edit: snap!