code: private URL adaptURL(URL url) throws Exception {
          if (url != null && url.getProtocol().equals("file")) {
              url = new URL(fixEncodedURI(url.toURI().toASCIIString()));
          }
          return url;
      }
docs: Private method for adapting URL for using of this ProgradePolicyFile.
  
  @param url URL for adapting
  @return adapted URL
  @throws Exception when there was any problem during adapting URL