For readFromFile function, if file not found, event will be logged rather than displayed to the user.