Construct and open ifstream in one line