switch history stream to live-on when file is read end