Add status bar text containing filename and number of lines to the text box/console as well.