How to set file name unique in the loop function?

Hi,
You can rename the files when downloading or renmae the files before moving them.
Check this link to see the code: