Inflate a model from file.