Printing record to file add