updated version check in Learner.from_file to support old models that would still work