Adding the ability to build a local model from a JSON local file

I thought it would show, because it is thrown in a callback, not in the function code...