Cache split array of file masks when the mask is set rather than creating for each file tested.