implement hex file decompression.