output line and file information