Rename dynamic file

hi, i want to ask again.
i have file to download and rename it to specific name, but the downloaded files come in dynamic name, this is files name

mynamefiles-2022-04-21-14_33_30.png
so the i believe the file looks like this
mynamefiles-yyyy-MM-dd-HH_mm_ss.png

i want to rename it just for the date only, looks like yourfilesname_dd-MM-yyyy.png

so the problems is since the base file using second time, so probably i unable to find it.
because i use this syntax to find the files.

Now.toString(“HH_mm_ss”).png

probably because of the second is different to the file while is downloaded.

is there way to find the file without the HH_mm_ss ?

@Nur_Alif_Irawan Do you know which file it will going to download. If that is the case we can search with the partial file name in the downloads folder or

Make sure your downloads folder is empty (hope you are downloading into this folder). once the file downloads read files using

Array of str[] Input Files = Directory.GetFiles("C:\Downloads")

Now, you can rename and move this file to the folder you want using Move File activity