private void randomFood() {
		
		FoodList listOfFood = null;
		
		try {
			ObjectInputStream listIn = new ObjectInputStream(new FileInputStream(new File("foodList.dat")));
		
			listOfFood = (FoodList) listIn.readObject();
			
			listIn.close();
		
		} catch (FileNotFoundException e) {
			System.err.println("Food List Not Found.");
		} catch (IOException e) {
			System.err.println("File Corrupted.");
		} catch (ClassNotFoundException e) {
			System.err.println("Project Incomplete.");
		}
		
		//make random number
		int randomNumber = new Random().nextInt(numberOfChoices);
		
		if (listOfFood != null) {
			switch (randomNumber) {
				case 0:
					this.infoString = getRandomInfo(listOfFood.getSnacks());
					this.type = "Snack";
					break;
				case 1:
					this.infoString = getRandomInfo(listOfFood.getDrinks());
					this.type = "Drink";
					break;
				default:
					System.err.println("Check Random Number Generator Seed in Dispenser");
			}
		}
//		for (String str : infoString) {
//			System.out.println(str);
//		}
//		
	}