making a simple output file