code: public static URI convertUriWithoutSchemeToFileScheme(URI uri) {
          if (uri.getScheme() == null) {
              return Paths.get(uri.getPath()).toUri();
          }
          return uri;
      }
docs: Convert an URI without a scheme to a file scheme.
  
  @param uri the source URI
  @return the converted URI