trying to fix event manager for data files