code: private static void unpackFace(File outputDirectory) throws IOException {
          ClassLoader loader = AllureMain.class.getClassLoader();
          for (ClassPath.ResourceInfo info : ClassPath.from(loader).getResources()) {
              Matcher matcher = REPORT_RESOURCE_PATTERN.matcher(info.getResourceName());
              if (matcher.find()) {
                  String resourcePath = matcher.group(1);
                  File dest = new File(outputDirectory, resourcePath);
                  Files.createParentDirs(dest);
                  try (FileOutputStream output = new FileOutputStream(dest);
                       InputStream input = info.url().openStream()) {
                      IOUtils.copy(input, output);
                      LOGGER.debug("{} successfully copied.", resourcePath);
                  }
              }
          }
      }
docs: Unpack report face to given directory.
  
  @param outputDirectory the output directory to unpack face.
  @throws IOException if any occurs.