Compressing a file does not mean that the file itself is modified. Compressing a file only changes the amount of storage space required.