Changed to use bufio

Changed to use bufio so new lines are read in as a single string