output file and line when printing error