Restored code to handle file upload

Of course, we don’t know if it works yet :-)
Restored the step's awareness of file upload URL