code: function populateStack(stack, rootPath, files, callback) {
    stack.unshift(...files
      .filter(file => file.stats.isDirectory())
      .map(file => path.join(rootPath, file.path)));
    async.nextTick(callback, null, files);
  }
docs: Add subdirectories to the given stack.