code: function(dirpath, file) {
      var templateFile = Path.join(__dirname, '../template/app', dirpath, file),
          outputFile = Path.join(appPath, dirpath, file);
      try {
        var template = new Template({text: FS.readFileSync(templateFile).toString(), watchFile:false});
        FS.writeFileSync(outputFile, template.apply(templateParams));
      } catch(e) {
        logger.fatal('Template', 'Cannot process template file: ' + templateFile + '. reason: ', e.toString());
        process.exit(1);
      }
    }
docs: Output the specified file from the template directory