LZW and Huffman algorithms for compression of files