Compresses files using the optimal binary encoding