made the sub function apply only to the file basename instead of full path. using full path can cause subs in the directory name - bad.
made the sub function apply only to the file basename instead of full path. using full path can cause subs in the directory name - bad.

DougFirErickson/LandsatLinkr,jdbcode/LandsatLinkr