move filterWithRegexp to utils
bugfix ll->lv (typo)
move common gamma to template
isDatasetDir->isDirForThisDset, more accurate (check also dsid)
drop useless --mode option; switch datasetnames->datasets