fixed intercept to use line by line reads where possible.