Updated ReaderWriter to more efficient reading