demo of an output file