Use c_str() for ifstream constructor
Include stdexcept