Why is m_FileOut not simply the back of m_PrevStdoutFileName? Do you need a separate variable or is it just the top of the stack?