I thought of reading a file one byte at a time and storing in an array should work. But the array doesnt containg bytes, but contains Strings. My code is something like in the snippet. If I dump the byteArr variable, I see a String array and that is not working.