Trying with only compressing once for local files