Compressing output files so the download is minimal in size