cp $1 $1.old
perl -i -0pe 's/clip-path=".*"//g;s/<clipPath(\n .*)*clipPath>//g' $1