private Visit createVisit(String line)
	{
		Visit visit = new Visit();
		String[] data = line.split(FIELDS_DELIMITER);
		visit.setName(data[0]);
		try {
			visit.setDate(Visit.dateFormat.parse(data[1]));
		} catch (ParseException e) {
			System.out.println(e);
		}
		visit.setVisitorNumber(Integer.parseInt(data[2]));
		
		Vector<String> visitors = new Vector<String>();
		if (data[5].length() != 0) {
			String[] arr = data[5].substring(1, data[5].length() - 1).split(
					VISITORS_DELIMITER);
			if (arr.length > 0) {
				for (String name : arr) {
					visitors.add(name);
				}
			}
		}
		visit.setVisitorNames(visitors);
		
		if(data[3].equals("yes")){
			visit.setGuide();
		}
		if(data[4].equals("yes")){
			visit.setReduction();
		}
		return visit;
	}