processing hex file in different thread