Write a program Find that searches all files specified on the command line and prints out all lines containing a reserved word. For example, if you call

java Find ring report.txt address.txt Homework.java

then the program might print

report.txt: has broken up an international ring of DVD bootleggers that
address.txt: Kris Kringle, North Pole
address.txt: Homer Simpson, Springfield
Homework.java: String filename;

The reserved word is always the first command line argument.

Complete the following file:


import java.io.FileNotFoundException; import java.io.File; import java.util.Scanner; /** This program searches files and prints out all lines containing a keyword. */ public class Find { public static void main(String[] args) throws FileNotFoundException { if (args.length < 2) { System.out.println("Usage: Find keyword sourcefile1 sourcefile2 . . ."); return; } String keyword = args[...]; for (int i = 1; i < ...; i++) { String filename = args[...]; . . . } } }