docs: function dumpToFile(extension, regex) {
    return inspect(onComplete);
  
    function onComplete(filename, contents, done) {
      if (!regex || regex.test(filename)) {
        var newName = [filename, extension || 'gen'].join('.');
        fs.writeFile(newName, contents, done);
      } else {
        done();
      }
    }
  }