docs: protected File toCheckedFile(final String context, final String path) {
          if (!isNonNullAndNonBlank(path)) {
              throw new IllegalArgumentException(context + " path cannot be null or blank");
          }
          final File file = new File(path);
          if (!file.isFile()) {
              String message =
                      context + " file does not exist or path does not refer to a file: '" + file.getPath() + "'";
              if (!file.isAbsolute()) {
                  message += " (" + file.getAbsolutePath() + ")";
              }
              throw new IllegalArgumentException(message);
          }
          return file;
      }