HFDparse function

internal function for modifying freshly read HFD data in its standard form