Added support for reading the json model from a file