Tentatively working for v18 cab files (might not be the best implementation though).