code: private static void process(String input, String output) throws Exception
     {
        FileInputStream is = new FileInputStream(input);
        PrintWriter pw = new PrintWriter(new FileWriter(output));
  
        byte[] buffer = new byte[is.available()];
        is.read(buffer);
        pw.println(ByteArrayHelper.hexdump(buffer, 0, buffer.length, true, 16, ""));
  
        is.close();
        pw.flush();
        pw.close();
     }
docs: This method opens the input and output files and kicks
  off the processing.
  
  @param input Name of the input file
  @param output Name of the output file
  @throws Exception Thrown on file read errors