updates to getTemplateFile; update docs
update toString