docs: public static File replaceExtension(File file, String newExtension) throws IllegalArgumentException
    {
      Params.notNull(file, "File");
      return new File(replaceExtension(file.getPath(), newExtension));
    }