model file parsing