Oops. Printing to console instead of text file.