async function loadImages(moduleDescriptors, pathFolders) {
  const images = [];
  const re = /Images\/[\w.-]+/g;
  for (const [, module] of moduleDescriptors) {
    const m = module.content.match(re);
    if (m)
      images.push(...m);
  }
  return Promise.all(Array.from(new Set(images)).map(async image => ({
    content: await fs.readFile(lookupFile(pathFolders, image)[0]),
    name: image
  })));
}
@param {!Map<string, !ModuleDescriptor>} moduleDescriptors
@return {!Promise<!Array<!{content: !Buffer, name: string}>>}