static private void reDirect ( ) {
  try {
    FileInputStream fileInputStream = new FileInputStream ( "A-large.in" ) ;
    scanner = new Scanner ( fileInputStream ) ;
    PrintStream ps = new PrintStream ( new FileOutputStream ( "a-out-large.txt" ) ) ;
    System . setOut ( ps ) ;
  }
  catch ( FileNotFoundException e ) {
    e . printStackTrace ( ) ;
  }
}

static private void reDirect ( ) { try { FileInputStream fileInputStream = new FileInputStream ( " A - large . in " ) ; scanner = new Scanner ( fileInputStream ) ; PrintStream ps = new PrintStream ( new FileOutputStream ( " a - out - large . txt " ) ) ; System . setOut ( ps ) ; } catch ( FileNotFoundException e ) { e . printStackTrace ( ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) body: (block (try_statement body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))) (expression_statement (assignment_expression left: (identifier) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (identifier))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) (catch_clause (catch_formal_parameter (catch_type (type_identifier)) name: (identifier)) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))))))))