Print line-number by -n. Print filename by multiple-files.

This is useful to do similar to grep.
@mattn Should `n` increment outer loop ? In this code, `n` increments only when line matches with pattern.