public void populateTasks(File tasks) 
	{
		try 
		{
			Scanner fileInput = new Scanner(tasks);

			int level = 0;
			char group = 0;
			String name = "";
			String token = "";
			
			while (fileInput.hasNextLine()) 
			{		
				token = fileInput.next();					
					
				if (!token.equals("")) 
					name = token;
				
				token = fileInput.next();					
				
				if (!token.equals("")) 
					group = token.charAt(0);
				
				token = fileInput.next();					
				
				if (!token.equals("")) 
					level = Integer.parseInt(token);
									
				this.PQ.add(new Task(name, group, level));
			}
			
			fileInput.close();
			//this.PQ.generateDotFile("tasks.dot");
		} 
		catch (FileNotFoundException e) 
		{
			System.err.println("File " + tasks + " cannot be found.");
		}
	}