docs: private void addResource(final Path pathToFile, final URL resource) throws IOException {
  
          if (resource == null) {
              addFolder(pathToFile);
          } else {
              addEntry(pathToFile, resource);
          }
      }