Events to seperated file