outfile formatting