add write the fitness to cvs