Dynamic header parsing for cnet reads and removed hard coded names