Used readUTF() for reading - fixed