added loading models from file