public void loadMasterPartsList(String directory, String fileName) throws IOException{
		String[] partNames = new String[1];
		String[] temp;
		
		FileReader fr = new FileReader(directory+fileName);
		BufferedReader br = new BufferedReader(fr);

		//init based on number of parts in file
		int numOfParts = Integer.parseInt(br.readLine());
		for(int i = 0; i <= numOfParts+1;i++){
			allMapParts.add(new MapPart());
		}
		
		String currentString = br.readLine();
		partNames[0] = currentString;
		
		while((currentString = br.readLine()) != null){
			if(currentString != ""){
				temp = new String[partNames.length+1];
				for(int i = 0; i <= partNames.length-1; i++){
					temp[i] = partNames[i];
				}
				temp[temp.length-1] = currentString;
				partNames = temp;
			}
		}
		br.close();
		loadMapParts(directory, partNames);
	}