- close output file