Added error messages displaying using source file name and line number