refactored code on check off baby gender for weight for age chart data files