Reads a hex file to print the result in a new file.