Added robust input processing to both scripts, allowing for specification of the location of a list of datafiles or direct listing of datafiles directly from command prompt.  Also added more extensive comments throughout.