private static void writeTableAssignmentByStudent(String fileName) {
		int thisGrade, prevGrade;
		EasyWriter tableByStudent = new EasyWriter(fileName + "_byStudent.txt"); // "table_assignment_by_student.txt");
		if (tableByStudent.bad()) {
			System.err
					.println("Error creating table_assignment_by_student.txt\n");
		}

		tableByStudent.print("Formal Dinner Seating by Student \n");
		tableByStudent.print("--------------------------------- \n\n\n");

		prevGrade = 9;
		for (int i = 0; i < StuIDs.size(); i++) {
			Student thisStu = (Student) Students
					.get(getIndexOfStu((String) StuIDs.get(i)));
			thisGrade = thisStu.getGrade();
			if (thisGrade != prevGrade) {
				tableByStudent.print("\n");
				tableByStudent.print("\n");
				tableByStudent.print("\n");
			}

			tableByStudent.print(thisStu.getfName() + " " + thisStu.getlName()
					+ " - ");
			// if ( thisStu.getTableNum() > 6 )
			// tableByStudent.print( (thisStu.getTableNum()+2) + "\n");
			// else
			tableByStudent.print(thisStu.getTableNum() + "\n");

			prevGrade = thisGrade;
		}
		tableByStudent.close();
	}