Using String instead of Reader