successfully able to read and printhex the input files