Convert fileEvents to messages.