Refactor the reading of TOF data in preparation for multiple channels