returning done when the line reader has finished reading