Add check for existens of model file to load(cherry picked from commit d609f5789d20fcf8bca198a3ae7f0b5348eb638b)