public static List<Unit> UnitParser (String filePath, String delimiter) {
		List<Unit> units = new ArrayList<Unit>();
		try {
			FileReader fr = new FileReader(filePath);
			BufferedReader br = new BufferedReader(fr);
			  
			String currentRecord;
			  
			while((currentRecord = br.readLine()) != null) { 
				String[] currentUnitChars = currentRecord.split(delimiter);
				  
				String name = currentUnitChars[0];
				int position = Integer.valueOf(currentUnitChars[1]);
				int price = Integer.valueOf(currentUnitChars[2]);
				int rent = Integer.valueOf(currentUnitChars[3]);
				String group = currentUnitChars[4];
				
				if (group.equals("Coincidence")) {
					Unit unit = new CoincidenceUnit(name, position, "src/files/coincidenceCards");
					units.add(unit);
				}
				else if (group.equals("Providence")) {
					Unit unit = new ProvidenceUnit(name, position, "src/files/providenceCards");
					units.add(unit);
				}
				else if (group.equals("Airport")) {
					Unit unit = new AirportUnit(name, position);
					units.add(unit);
				}
				else if (group.equals("Go")) {
					Unit unit = new GoUnit(name, position);
					units.add(unit);
				}
				else if (group.equals("Tax")) {
					Unit unit = new TaxUnit(name, position, price, rent, group);
					units.add(unit);
				}
				else if (group.equals("Jail")) {
					Unit unit = new JailUnit(name, position);
					units.add(unit);
				}
				else if (group.equals("GoToJail")) {
					Unit unit = new GoToJailUnit(name, position);
					units.add(unit);
				}
				else {
					Unit unit = new LotUnit(name, position, price, rent, group);
					units.add(unit);
				}
			  }
			  br.close();
		}
		catch (Exception e) {
			System.out.println(e.getMessage());
		}
		return units;
	}