public  void serialize(String roll, String name,String address) {
    	Properties prop = new Properties();
    	InputStream istream = getClass().getClassLoader().getResourceAsStream("com/file/resources/additionalsearchtree.properties");
		try {
			prop.load(istream);
			String pathLocation =prop.getProperty("path");
    		File file = new File(pathLocation);

    		if(!file.exists()){
    			file.createNewFile();
    		}
    		
    		PrintWriter output = new PrintWriter(new FileWriter(pathLocation,true));
    		BufferedReader bf = new BufferedReader(new FileReader(pathLocation));
    		if(bf.readLine()==null){
    			output.printf("%s|%s|%s\r\n","name","rollnumber","address");
    			output.printf("%s|%s|%s\r\n", name,roll,address);
    		}else{
    			output.printf("%s|%s|%s\r\n", name,roll,address);
    		}

    		bf.close();
            output.close();

		} catch (Exception e) {
			e.getMessage();
			e.printStackTrace();
		}
    	
		
	}