public void inserts(String extFile,String origFileName) throws IOException {
  String content=getMatched(extFile);
  if ((content != null) && (content.length() > 0)) {
    String orig=getFileContentInserted(origFileName,content);
    writeToFile(origFileName,orig);
  }
}

public void inserts ( String extFile , String origFileName ) throws IOException { String content = getMatched ( extFile ) ; if ( ( content != null ) && ( content . length ( ) > 0 ) ) { String orig = getFileContentInserted ( origFileName , content ) ; writeToFile ( origFileName , orig ) ; } }
inserts a portion of one file and insert into another file .
