docs: public static File getFile(URL resourceUrl, String description) throws FileNotFoundException {
          if (!URL_PROTOCOL_FILE.equals(resourceUrl.getProtocol())) {
              throw new FileNotFoundException(
                  description + " cannot be resolved to absolute file path " +
                      "because it does not reside in the file system: " + resourceUrl);
          }
          try {
              return new File(toURI(resourceUrl).getSchemeSpecificPart());
          } catch (URISyntaxException ex) {
              // Fallback for URLs that are not valid URIs (should hardly ever happen).
              return new File(resourceUrl.getFile());
          }
      }