void initializeVibFile(File inptFl) {
    /* this sets things up specifically for the export of an MSF-OCA
     * cholera epidemiological data tool. It's an inelegant mess,
     * because the exports were never really meant for this...*/
	try{
	  dataColumns = 14;
      splitHeader = new String[dataColumns];
      br = new BufferedReader(new FileReader(inputFile));
      String stringLine;
      int line = 1;
      /* Crash through the preamble of the export file, the end of which is 
       * signalled by a line reading "Main data".  For our purposes there
       * is nothing interesting in the preamble.*/
      while((stringLine = br.readLine()) != null) {
    	String s = (stringLine.replaceAll("\\[", "")).replaceAll("\\]", "");
        if(Pattern.matches("Main data", s)){
          break;
        }
        line++;
      }
      /* Now we're into the actual data, which in this export file is two
       * lines of text per data point.  We have to run through two lines at
       * a time, combining each two lines into one String[] of the ArrayList*/
      params.inputDataSet = new ArrayList<String[]>();
      String strLine = "";
      while((stringLine = br.readLine()) != null){
        String[] splitString = null;
        try {
          if ((strLine=br.readLine())!=null){
            String secondLine;
            if ((secondLine = br.readLine())!=null){
              strLine = strLine.concat("," + secondLine);
            }
            splitString = strLine.split(separator);
            for (int t = 0;t<splitString.length; t++){
              splitString[t] = (splitString[t].replaceAll("\"", "")).replaceAll("\\#", "");
            }
            params.inputDataSet.add(splitString);
          }
        } catch (IOException e) {
          System.out.println("Hi, something went wrong reading a line in the vib file");
        }
      }
      
      /* Set the paramaters based on what we know to be the setup of the cholera
       * tool export file. If something changes we're screwed, we have to trust
       * the epi data tool to provide a consistent column order.*/
      columnMinValue = new double[dataColumns];
      columnMaxValue = new double[dataColumns];
      splitHeader[0] = "CTC Name";
      splitHeader[1] = "Patient ID no";
      splitHeader[2] = "Date of Admission";
      splitHeader[3] = "Days since first symptoms";
      splitHeader[4] = "Age in years";
      splitHeader[5] = "Age in months";
      splitHeader[6] = "Sex (1 = M, 2 = F)";
      splitHeader[7] = "Address or village";
      splitHeader[8] = "Dehydration (1 = A, 2 = B, 3 = C)";
      splitHeader[9] = "Litres of ORS";
      splitHeader[10] = "Litres of Ringers";
      splitHeader[11] = "Outcome (1 = cured, 2 = died, 3 = LTF, 4 = trfd)";
      splitHeader[12] = "Date of exit";
      splitHeader[13] = "Time between admission and death";
      nameC = 7;
      startDateC = 2;
      labelC = 1;
      colorC = 8;
      dataRows = line;
	} catch(Exception e){
	  e.printStackTrace();
	}
  }