in reply to output file gives only last line
Thanks! You guys are the best! Really appreciated the extra tips, too.