mergen the detector files