update utils to compress files (not wholly working)