Add compression before uploading files