enhance line number and filename printing