import java.io.IOException; public class FindPalindromes { public static void main( String[] args ) throws IOException { Play document = new Play( args[0] ); System.out.println( "The play in the file " + args[0] + " contains " + document.numberOfPalindromes() + " palindromes." ); } }