Seperated out printWithLineNumber function