save_output function

Save an Output