only compress if file isn't already compressed