Compress text-based files