Updating read to add limit

+ Should not break existing programs as limit was added as 3rd parameter.
+ Limit is even enforced on history.