Can someone help me understand the code below? I'm trying to figure out how it's getting the text file to read from.
public static void main(String[] args) throws Exception {
if( args.length < 2 )
{
throw new Exception( "Usage: inputFileName outputFileName");
}
Box d = new Box(8);
PrintWriter pw = new PrintWriter( new FileWriter(args[1]));
BufferedReader br = new BufferedReader( new FileReader( args[0] ));