So say i convert the strings into a bytearraystream, how do I write and read that to a file?