The Getline function

The getline function reads input from the current data file or from a different file.