Fix compilation problem -- shouldn't return m_file as a bool

use m_file.good() instead