Hi,
I have below from which downloads attachment (picture) from email and saves it to folder on One Drive. Because I already have the same filename there, before saving, I rename the old picture and add timestamp to it, then save it to the same directory. This happens OK for the first time.
concat('/Email attachments/','filenamehere',utcNow(),'.png')
But next time the flow rename the original picture from email but instead of renaming it to a new file, it replaces the old rename file which already had timestamp.
So it keep adding new files because the timestamp is different than the file renamed 5 minutes ago.

Hope it's clear.
Thanks.
K.
EDIT:
I understand it like when I am selecting the file to rename in the flow I have to select specific file to which the workflow probably assigns a hash code and stick with it no matter the filename. I will try to put there expression instead of specific file.