Fixed line number reporting when reading multiple files.