still print line information when filename is empty