gen_event file generator