public static Pathway loadPathway(BufferedReader reader) {
		String line;
		try {
			Pathway path = null;
			while((line = reader.readLine()) != null && !line.matches("<END>")) {
				String[] temp = line.split(";");
				path = new Pathway(new Rectangle2D.Double(Integer.parseInt(temp[0]), Integer.parseInt(temp[1]), 
	    					Integer.parseInt(temp[2]), Integer.parseInt(temp[3])), temp[4], Integer.parseInt(temp[5]), Integer.parseInt(temp[6]));
			}
			
			//reader.close();
			return path;
		} catch (IOException e) {
			System.out.println("Pathway failed to load");
		}
		
		return null;
	}