parse a file and write results to another
write to file using format