String can be converted to byte array.
Then the byte array can be used to transfer on wire, save to file.