Added method to Printer to output hashtables to file.