Eh Shawn,
I was quicker, my script "explicit" and NoVarsInStrings" compliant, but with one small bug.

shell $file

should be:
shell $folder + $file
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.