added io/LZW (first version)