Write to CSV file only for CHC, need to fix row skip