You are returning “Clean.txt”, but you never change filenamz. Because you do not assign the returned value to any name, it is discarded and filenamz remains the same.
Thanks for guiding Sir.
I was thinking that i am returning filename which is Clean.txt.
And my passed/returning variable is filenamz. So was thinking that no need to re-assign.
Will do as you guided. Thanks.
It’s been long time since programming is left :), re-entering into.