39     FILE* fp = fopen(fileName.c_str(), 
"wb");
 
   47   template <
typename DICT>
 
   48   static bool TryLoadFromFile(
const std::string& fileName,
 
   49                               std::shared_ptr<DICT>* dict) {
 
   53         _wfopen(UTF8Util::GetPlatformString(fileName).c_str(), L
"rb")
 
   55         fopen(UTF8Util::GetPlatformString(fileName).c_str(), 
"rb")
 
   62     std::shared_ptr<DICT> loadedDict = DICT::NewFromFile(fp);
 
   68   template <
typename DICT>
 
   69   static std::shared_ptr<DICT> NewFromFile(
const std::string& fileName) {
 
   70     std::shared_ptr<DICT> dict;
 
   71     if (!TryLoadFromFile<DICT>(fileName, &dict)) {
 
   72       throw FileNotFound(fileName);