handle variable number of fields in each feature file