Cleanup of compressFileAdv