create an output file