OnDownload File name with variable

Hi , I was trying out the exact same thing .
How do I rename the file without knowing the original filename as XRun with powershell and Rename Item is expecting a file to rename - how do I get the filename since kento is not giving me that.