Improvements for the sum_diff HFI files