compress bag file