docs: public String guessContentTypeFromFile(File file) {
          String contentType = URLConnection.guessContentTypeFromName(file.getName());
          if (contentType == null) {
              return "application/octet-stream";
          } else {
              return contentType;
          }
      }