public static String readd(String fileName, String encoding) { 
    	File file = new File(fileName);
    	if(file.exists()){
	        StringBuffer fileContent = new StringBuffer(); 
	        try { 
	            FileInputStream fis = new FileInputStream(fileName); 
	            InputStreamReader isr = new InputStreamReader(fis, encoding); 
	            BufferedReader br = new BufferedReader(isr); 
	            String line = null; 
	
	            while ((line = br.readLine()) != null) { 
	                fileContent.append(line); 
//	                fileContent.append(System.getProperty("line.separator")); 
	            } 
	            br.close(); 
	            isr.close(); 
	            fis.close(); 
	        } catch (Exception e) { 
	            e.printStackTrace(); 
	        } 
//	        System.out.println(fileContent.toString());
	        return fileContent.toString(); 
    	}
    	else return null;
    }