Implement compressing files