clean work
writeHexToBinFile