A Box event subscriber to compact file contents.