Hello @Wassim Al Mokdad ,
Thanks for the question and using MS Q&A platform.
As you mentioned that you are passing the filename and folder name dynamically , you can use the same parameters to create a valid path where you want to move the file.
Let me know how it goes .
Thanks
Himanshu
Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues.