I am trying to write to a new file as well as printing to screen. The code below is printing to screen Ok but how to I effectively write the contents to a new file? Thanks!<