add parse model file logic