public static void printMenu() throws NetworkException, Exception{    	
    	System.out.println("\n==== MENU ====");    	
    	System.out.println("1 - Set Parameters");
    	System.out.println("2 - Treat keywords of a folder");								    	
    	System.out.println("3 - Quit");				    	
        int menuChoice = choiceMenu();
    	
    	switch (menuChoice){
    		case 1:
    			setParameters();
    			break;
    		case 2:
    			TreatSignals();    			
    			break;	      	   								
    		case 3:
    			System.exit(0);    			
    			break;					    		    	
    		default:
    			System.out.println("Choice not OK.");
    			printMenu();            
        }
    }