Removed the fileio because C++ has a getline function.