ERROR: Couldn't open events file to write events.