added write to empirical model file builder