Create detection.dat