Adding a GarbageCollect util class for cleaning up cache dirs