cleanup
added support to compress files too