code: public static List<String> get(String name, @Nullable Path file) {
      if (file != null) {
        if (!file.toString().isEmpty()) {
          return Arrays.asList("--" + name + "=" + file.toString());
        }
      }
      return Collections.emptyList();
    }
docs: Returns {@code [--name=filePath]} or {@code []} if file=null.