public static File cleanup(File toCleanUp) {
        if (SHUTDOWN_HOOK_INSTALLED.compareAndSet(false, true)) {
            Runtime.getRuntime().addShutdownHook(SHUTDOWN_HOOK);
        }
        FILES_TO_CLEAN_UP.add(toCleanUp);
        return toCleanUp;
    }
Cleanup the given file.

@param toCleanUp File to cleanup.
@return File to be cleaned up.
core/src/test/java/kafka/autobalancer/utils/AutoBalancerTestUtils.java