Increment Filename if File exists

Hi

How can I increment the filename if the file already exists on the folder?
What should I write on the modified java script step?

thanks, really appreciate the help

Hello @jmr

You can add DateTimeStamp to the file using Modified JavaScript and then pass the new filename to the ext step.