saved the model to the file to improve load up speed