private void updateArchiveFile(Vector stuList){
		File file = new File(
				"/Users/Shelley/Documents/DiningHallSeating/DHS/DiningHallSeating/Data/"
						+ "Students0910.txt");
		
		FileInputStream fis = null;
		
		try {
			fis = new FileInputStream(file);
			
			//regular expression (it matches one or more whitespace characters)
			Pattern splitter = Pattern.compile("\\s+");
		DataInputStream in = new DataInputStream(fis);
		BufferedReader br = new BufferedReader(new InputStreamReader(in));
		String str;
		StringBuilder fileContent = new StringBuilder();
		int count = 0;

		
		while ((str = br.readLine()) != null) {
			System.out.println(str);
			
			//returns an array of the line split into elements by whitespace
			String parts[] = splitter.split(str);
			
			if (parts.length > 0) {
					Student stu = (Student) stuList.get(count);
					
					int max = parts.length;

					String newLine = new String();
					for(int i = 0; i < max; i++){
						newLine += parts[i] + " ";
					newLine += stu.getTableNum();	
					System.out.println(newLine);
					fileContent.append(newLine);
					fileContent.append("\n");
					count++;
				}

			}

		}
		FileWriter writer = new FileWriter(
				"/Users/Shelley/Documents/DiningHallSeating/DHS/DiningHallSeating/Data/"
						+ "Students0910.txt");
		BufferedWriter bwrite = new BufferedWriter(writer);
		bwrite.write(fileContent.toString());
		bwrite.close();
		in.close();
	} catch (Exception e) {// Catch exception if any
		System.err.println("Error: " + e.getMessage());
		e.printStackTrace();
	}
}