123456
string getFileName() { string fname; cout << "Enter the name of the file you wish to use including extension: "; cin >> fname; return fname;
ifstream infile(fileName.c_str());