Printing to file nicely, but need to fix final load problem