code: def template_str(template):
      
      tmpl_file = os.path.join(determine_path(), template)
      with open(tmpl_file, mode='r') as tmpl_strm:
          return "".join(tmpl_strm.readlines())
docs: Read a template file from the resources and return it as str.