public void readFromUser(BinarySearchTree<String, String> tree, int size) {

		Scanner inn = new Scanner(System.in);
    	String compare ="N";
    	String comText= null;
    	String name = null;
    	String roll = null;
    		
   		do {
   			System.out.println("\nEnter the fullName and rollNo as (DW-2XX):");
   			name = inn.nextLine();
   			
   			roll = inn.next();
   			
   			tree.add(name, roll);
   			
   			System.out.println("Want to continue?? Enter Y for yes and N for no:");
   			comText = inn.next();
   		
   		}while(!comText.equalsIgnoreCase(compare));
    	
   		List<BinaryNode<String, String>> li = tree.inOrder(tree.returnRoot());
    			
        for(int i = size; i<li.size()-size; i++){
              serialize(li.get(i).key,li.get(i).value);
        }
        
        inn.close();
    	    	    
    }