What is wrong with this code? Every time I run it outputFile has a false value, causing the assert to fail. I'm sure it's something really stupid that I'm overlooking, but I can't find it. I've been looking at C++ documentation for the last half hour trying to find what I'm doing wrong with no results.Code:std::fstream outputFile; outputFile.open("Mods/CivTacticalCombat/BattleInfo/UnitInfo.dat", std::ios::in | std::ios::out | std::ios::binary); FAssertMsg(outputFile, "Error opening file:Mods/CivTacticalCombat/BattleInfo/UnitInfo.dat");