code: function processTemplateAndSave(sTemplateName, oData, sOutputName) {
  	var sResult = processTemplate(sTemplateName, oData);
  	if ( conf.normalizeWhitespace && /\.html$/.test(sOutputName) ) {
  		sResult = normalizeWhitespace(sResult);
  	}
  	var sOutpath = path.join(conf.outdir, sOutputName);
  	try {
  		fs.mkPath( path.dirname(sOutpath) );
  		fs.writeFileSync(sOutpath, sResult, 'utf8');
  	} catch (e) {
  		error("failed to write generated file '" + sOutpath + "':" + (e.message || String(e)));
  	}
  }
docs: Pull in the contents of an external file at the given path.