convert model file to my original binary format