Added multi line reading method