public void loadDB()
	{
		FileInputStream fin;
		String plr;
		try
		{
		    fin = new FileInputStream ("FULLDB.txt");;  
		    DataInputStream dis = new DataInputStream(fin);
		    String name = dis.readLine();		    
		    dis.readLine();
		    while (!name.equalsIgnoreCase("endClasses"))
		    {    		    	
		    	String temp = dis.readLine();
		    	String finalString = "";
		    	
		    	while (!temp.equalsIgnoreCase("--"))
		    	{
		    		finalString += temp + "\n";
		    		temp = dis.readLine();
		    	}
		    	
		    	Course c = new Course(finalString);
		    	classes.add(c);
		    	name = dis.readLine();
		    }
		    
		    dis.readLine();
		    name = dis.readLine();
		    while (!name.equalsIgnoreCase("endSections"))
		    {    		    	
		    	String temp = dis.readLine();
		    	
		    	String finalString = "";
		    	
		    	while (!temp.equalsIgnoreCase("--"))
		    	{
		    		finalString += temp + "\n";
		    		temp = dis.readLine();
		    	}

		    	Section s = new Section(finalString);
		    	sections.add(s);
		    	name = dis.readLine();
		    }
		    
		    dis.readLine();
		    dis.readLine();
		    while (!name.equalsIgnoreCase("endTeachers"))
		    {    		    	
		    	String temp = dis.readLine();
		    	
		    	String finalString = "";
		    	
		    	while (!temp.equalsIgnoreCase("--"))
		    	{
		    		finalString += temp + "\n";
		    		temp = dis.readLine();
		    	}

		    	Teacher t = new Teacher(finalString);
		    	teachers.add(t);
		    	name = dis.readLine();
		    }
		    
		    name = dis.readLine();
		    dis.readLine();
		    while (!name.equalsIgnoreCase("endStudents"))
		    {    		    	
		    	String temp = dis.readLine();
		    	
		    	String finalString = "";
		    	
		    	while (!temp.equalsIgnoreCase("--"))
		    	{
		    		finalString += temp + "\n";
		    		temp = dis.readLine();
		    	}

		    	Student t = new Student(finalString);
		    	students.add(t);
		    	//System.out.println(t.toString());
		    	name = dis.readLine();
		    }
		    
		    fin.close();
		}
		catch (IOException e)
		{}
	}