In redacting the script in "Re^2: Once is never enough" from its previous larger contextual script, I debugged the logic error.
The only item now in need of further feedback is really the regex statement which i modifed to allow a blank as an allowed character in the file base_name:
Is this correct? I'm daunted by regex as they seem such complex expressions; if you can offer an online regex tutorial for dummies i would welcome. Thx.