read all data not just the end of line