streaming lines to upper and lower case.