Exercise A, stream one element at a time and loop until file is empty