merging the model files