Compartmentalized garbagefile creation in createGarbagefile().