docs: private File writeCleanupFile(int platformType) throws IOException {
  
          String fileSuffix = ".sh";
  
          if (platformType == SelfExtractUtils.PlatformType_WINDOWS) {
              fileSuffix = ".bat";
          }
  
          File file = File.createTempFile("wlpDelete", fileSuffix);
  
          if (!file.exists()) {
              boolean success = file.createNewFile();
              if (!success) {
                  throw new IOException("Failed to create file " + file.getName());
              }
          }
  
          BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file.getAbsoluteFile()), "UTF-8"));
  
          if (platformType == SelfExtractUtils.PlatformType_UNIX) {
              writeUnixCleanup(file, bw);
          } else if (platformType == SelfExtractUtils.PlatformType_WINDOWS) {
              writeWindowsCleanup(file, bw);
          } else if (platformType == SelfExtractUtils.PlatformType_CYGWIN) {
              writeCygwinCleanup(file, bw);
          }
  
          bw.close();
  
          return file;
      }