public GeneDiseaseRelationFileWriter(String dbPath, Type type) throws SqlJetException {
    System.out.println("Loading ...");
    loader = new GeneDiseaseRelationLoader(new File(dbPath));
    switch (type) {
      case GENE_ATTRIBUTES:
        table = loader.getRelationFromGeneAttributes();
        break;
      case GENE_DISEASE_NETWORK:
        table = loader.getRelationFromGeneDiseaseNetwork();
        break;
    }
  }