docs: public static String getFilename(String path) throws IllegalArgumentException {
          if (Pattern.matches(sPatternUrl, path))
              return getURLFilename(path);
  
          return new File(path).getName();
      }