Not sure this has to be done with Sam name does it Howard?

Have not reviewed all the details, but samples I've seen don't seem to use the Sam name for the rename so long file names should still be supported just as if you were doing with the GUI.