Added a StringBuffer in the readString class, (but unable to test at the
moment as tests aren't working for me)