compresses file