Missing closing quote after filepath in 'cannot find' message
str << "Cannot find '" << SystemTools::GetFilenameName(filepath) << " in '"
<< this->DataDirectory.c_str() << "'. Using '" << filepath << "'.\n\n";
should be
str << "Cannot find '" << SystemTools::GetFilenameName(filepath) << "' in '"
<< this->DataDirectory.c_str() << "'. Using '" << filepath << "'.\n\n";