code: public void close() {
          File tmp = new File(webpTmpDir);
          if (tmp.exists() && tmp.isDirectory()) {
              File[] files = tmp.listFiles();
              for (File file : Objects.requireNonNull(files)) {
                  file.delete();
              }
              tmp.delete();
          }
      }
docs: delete temp dir and commands