public void loadPrisons() {
		
		instance.getLogger().info("Loading Prison Data");

		try {

			prisons = new ArrayList<PrisonObject>();
			
			File myFile = new File(instance.getDataFolder() + File.separator + "prisons.txt");
			Scanner inputFile = new Scanner(myFile);
			
			while (inputFile.hasNextLine()) {
	
				String prisonString = inputFile.nextLine();
				
				if (!(prisonString.equalsIgnoreCase(""))) {
					
					PrisonObject prisonObject = new PrisonObject(instance);
					
					String[] prisonArray = prisonString.split("~");
					
					prisonObject.prisonId = prisonArray[0];
					prisonObject.prisonName = prisonArray[1];
					prisonObject.prisonLocation = new Location(instance.getServer().getWorld(prisonArray[2]), Double.valueOf(prisonArray[3]), Double.valueOf(prisonArray[4]), Double.valueOf(prisonArray[5]));

					prisons.add(prisonObject);
					
				}
					
			}
			
			inputFile.close();

			// load cells
			for (PrisonObject prison : prisons) {
				
				myFile = new File(instance.getDataFolder() + File.separator + "prisons" + File.separator + prison.prisonId + File.separator + "cells.txt");
				inputFile = new Scanner(myFile);
				
				while (inputFile.hasNextLine()) {

					String cellString = inputFile.nextLine();
					
					if (!cellString.equalsIgnoreCase("")) {

						String[] cellArray = cellString.split("~");
						
						CellObject cellObject = new CellObject(instance);
						
						cellObject.cellNumber = Integer.valueOf(cellArray[0]);
						cellObject.cellLocation = new Location(instance.getServer().getWorld(cellArray[1]), Double.valueOf(cellArray[2]), Double.valueOf(cellArray[3]), Double.valueOf(cellArray[4]));

						prison.prisonCells.add(cellObject);
						
					}
					
				}
				
			}

			// load inmates
			for (PrisonObject prison : prisons) {
				
				myFile = new File(instance.getDataFolder() + File.separator + "prisons" + File.separator + prison.prisonId + File.separator + "inmates.txt");
				inputFile = new Scanner(myFile);
				
				while (inputFile.hasNextLine()) {

					String inmateString = inputFile.nextLine();
					
					if (!inmateString.equalsIgnoreCase("")) {

						String[] inmateArray = inmateString.split("~");
						
						InmateObject inmateObject = new InmateObject(instance);
						
						inmateObject.playerName = inmateArray[0];
						inmateObject.sentenceDate = Long.valueOf(inmateArray[1]);
						inmateObject.sentenceHours = Integer.valueOf(inmateArray[2]);

						prison.prisonInmates.add(inmateObject);
						
					}					
					
				}
				
			}

		} catch (FileNotFoundException e) {

			e.printStackTrace();
	
		}
				
	}