use binary sequence file to store simulated events