public static void run_task_manager(File tasks)
	{
		System.out.println("System task manager is initialized ...");
		
		Scanner scanner = new Scanner(new InputStreamReader(System.in));		
		
		TaskManager manager = new TaskManager(tasks);			
		
		manager.runTask();
		
		while(true)
		{       
	        if(manager.isDone())
	        {
	        	System.out.println("\nAll tasks are done, Have a nice day...");
	    		scanner.close();
	        	return;
	        }
	        
	        String input = scanner.nextLine();
	       	        
	        if(input.equals("task"))
	        {
	        	System.out.println("\nCurrent task: " + manager.getTask());
	        }
	        
	        else if(input.equals("run"))
	        {
	        	manager.runTask();
	        }
	        
	        else if(input.equals("next"))
	        {
	        	System.out.println("\nNext task: " + manager.nextTask());
	        }
	        
	        else if(input.equals("exit"))
	        {
	        	System.out.println("\nSystem task manager has exited ...");
	    		scanner.close();
	        	return;
	        }
	        
	        while(manager.getTask().getTaskName().equals("user_comm"))
	        {
	        	input = scanner.nextLine();
	        	
	        	if(input.equals("done"))
	        	{
	        		System.out.println("\nUser command connection has been shut down...");
	        		manager.runTask();
	        		break;
	        	}
	        	else 
	        		manager.sendComm(input);        	
	        }        
		}
	}