Added Huffman table extraction