docs: public static void checkFileExists(final File file, final String name)
      {
          if (!file.exists())
          {
              final String msg = "missing file for " + name + " : " + file.getAbsolutePath();
              throw new IllegalStateException(msg);
          }
      }