Reading a line explicitly using getline