Add a method to set the output file to write the spoon output.