std::ios::in is not required if you use std::ifstream