public void initialize() throws ResourceInitializationException {
//    super.initialize(aUimaContext);
    String oPath = (String) getUimaContext().getConfigParameterValue("outputdocument");
//    String samplefile = (String) getUimaContext().getConfigParameterValue("SAMPLE_FILE");
//    String samplefile = (String) getUimaContext().getConfigParameterValue("SAMPLE_FILE");
 // Output file should be specified in the descriptor
    if (oPath == null) {
      throw new ResourceInitializationException(
              ResourceInitializationException.CONFIG_SETTING_ABSENT, new Object[] { "outputdocument" });
    }
    
    try {
//      outFile = new File("outputdocument");
      outFile = new File("/home/zimo/Desktop/hw1-zimoz.out");
      fileWriter = new FileWriter(outFile);
//      fileWriter = new FileWriter(compareFile);
    } catch (IOException e2) {
      // TODO Auto-generated catch block
      e2.printStackTrace();
    }
    
    
    
  }