Small file aggregation and patterned index compression