public void initialize() throws ResourceInitializationException{
    System.out.println(((String) getConfigParameterValue(PARAM_INPUTDIR)).trim());
    file = new File(((String) getConfigParameterValue(PARAM_INPUTDIR)).trim());  
    try {
      fileReader = new BufferedReader(new FileReader(file));
    } catch (FileNotFoundException e1) {
      // TODO Auto-generated catch block
      e1.printStackTrace();
    }
    numLine = 0;
    String temp = null;
    contents = new Vector<String>();
    try {
      while((temp = fileReader.readLine())!=null){
        contents.addElement(new String(temp));
        numLine++;
      }
      fileReader.close();
    } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }    
    //System.out.println(numLine);
  }