Add check for existence of events file before saving