reading back content from file using ByteBuffer