Parsing string into binary and loading message from file