only main process handles event files