The way of header reading is changed to the broadcast approach where the root process (rank 0) reads the header, and then broadcasts the header data.