void cleanupFiles() {
    if (directory != null) {
      deleteDirectory(directory);
    }

    for (Map<DirectoryHolder, Path> diskStoreDirToTempDirMap : diskStoreDirDirsByDiskStore
        .values()) {
      for (Path tempDir : diskStoreDirToTempDirMap.values()) {
        deleteDirectory(tempDir);
      }
    }
  }
Attempts to delete all temporary directories and their contents. An attempt will be made to
delete each directory, regardless of the failure to delete any particular one.
geode-core/src/main/java/org/apache/geode/internal/cache/backup/TemporaryBackupFiles.java