public Mutant(Path path){
		List<String> fileLines = null;
		attr = new int[5];
		attrMod = new int[5];
		abilities = new Ability[4];
		level = 1;
		exp = 0;
		
		//read file 
		try {
			fileLines = Files.readAllLines(path, StandardCharsets.UTF_8);
		} catch (IOException e) {
			e.printStackTrace();
		}

		name = fileLines.get(1).trim();
		
		//get attributes from textfile
		for(int i=0; i < 5; i++){
			attr[i] = getAttr(fileLines.get(i+9));
			attrMod[i] = getMod(fileLines.get(i+9));
		}	
		
		MAX_HEALTH = attr[0];
		setAttr(0,getMaxHealth());
		
		//create the abilities
		for(int i=0; i < 4; i++){
			String name, description;
			int pp, dmg;
			float accuracy;
			int delta = i*8;
			name = fileLines.get(18+delta).split("PP")[0];
			pp = Integer.parseInt(fileLines.get(18+delta).split("PP")[1].trim());
			dmg = Integer.parseInt(fileLines.get(20+delta).split(" ")[1].trim());
			accuracy = Float.parseFloat(fileLines.get(21+delta).split(" ")[1].trim());
			description = fileLines.get(23+delta);
						
			abilities[i] = new Ability(name, pp, dmg, accuracy, description);
		}		
	}