code: function saveFileSync(output_file, text, encoding) {
    var output_dir = path.dirname(output_file);
    ensureDirectoryExists(output_dir);
  
    fs.writeFileSync(output_file, text, encoding || 'utf8');
  }
docs: /* Text file