consolidate common text into frag files