docs: private String getLogoImageData() {
          ByteArrayOutputStream os = new ByteArrayOutputStream();
          BufferedInputStream reader = null;
          
          try {
              reader = new BufferedInputStream(FileUtils.getFileResource(logo).getInputStream());
              
              byte[] contents = new byte[1024];
              while( reader.read(contents) != -1) {
                  os.write(contents);
              }
          } catch(IOException e) {
              log.warn("Failed to add logo image data to HTML report", e);
          } finally {
              if (reader != null) {
                  try {
                      reader.close();
                  } catch(IOException ex) {
                      log.warn("Failed to close logo image resource for HTML report", ex);
                  }
              }
              
              try {
                  os.flush();
              } catch(IOException ex) {
                  log.warn("Failed to flush logo image stream for HTML report", ex);
              }
          }
          
          return Base64.encodeBase64String(os.toByteArray());
      }