public List<Challenge> getChallengeList(String oppositeFileName, String teamType) {
		List<Challenge> challengeList = new ArrayList<Challenge>();
		Element challengeE;
		Challenge challenge;
		BipolarQuestionDao biploarQuestionDao = new BipolarQuestionDao(oppositeFileName);
		List<BipolarQuestion> challengeParentList = biploarQuestionDao.getBipolarParentList(teamType);
		BipolarQuestion parent = null;
		for (Iterator i = root.elementIterator("challenge"); i.hasNext();) {
			challengeE = (Element)i.next();
			if (challengeE.element("isDelete").getText().equals("false")) {
				String id = challengeE.element("id").getText()
						, title = challengeE.element("title").getText()
						, description = challengeE.element("description").getText()
						, type = challengeE.element("type").getText()
						, timeAdded = challengeE.element("timeAdded").getText()
						, name = challengeE.element("name").getText()
						, debateId = challengeE.element("debateId").getText()
						, dialogState = challengeE.element("dialogState").getText()
						, parentId = challengeE.element("parent").getText();
				if (parentId != null && challengeParentList.size() != 0) {
					for (int j = 0; j < challengeParentList.size(); j++) {
						if (challengeParentList.get(j).getId().equals(parentId)) {
							parent = challengeParentList.get(j);
							break;
						}
					}
				}
				
				challenge = new Challenge(id, title, description, type
						, timeAdded, parent, name, debateId, dialogState);
				challengeList.add(challenge); 
			}
			
		}
		return challengeList;
	}