read the model files