read message from file