I should be able to touch up your solution just fine for the real deal.
In reply to Re^2: Reorganizing file contents by tomdbs98 in thread Reorganizing file contents by tomdbs98