docs: function getDirectoryTree(dir) {
      const items = [];
      return new Promise(function(resolve) {
          fs.walk(dir)
          .on('data', function (item) {
              items.push(item.path);
          })
          .on('end', function () {
              resolve(items);
          });
      });
  }