compress output file