public void functionSearchStringInXMLFile (String sFileName, String sSearchString){

	String sFilePath = "C:\\Users\\shyder\\Downloads\\";
	if (System.getProperty("os.name").contains("Win")){
		sFilePath = "C:\\Users\\shyder\\Downloads\\";}
	if (System.getProperty("os.name").contains("Lin")){
		sFilePath = "//users/shyder/downloads/";}
	if (System.getProperty("os.name").contains("Mac")){
		sFilePath = "//users/shyder/downloads/";}

	String sFile = sFilePath + sFileName;
	
	System.out.println (sFile);
	
	System.out.println("\n[" + this.getClass().getSimpleName() + "] " + new Exception().getStackTrace()[0].getMethodName() + " ()");
	
		
    try {
    	     Thread.sleep(4000);} 
    catch (InterruptedException e) {
    	           e.printStackTrace();  
    }
	
    boolean bResult = false;
	System.out.println("*** " + this.getClass().getSimpleName() + " :" + new Exception().getStackTrace()[0].getMethodName() + " ()");
    System.out.println("==================================================================");
	
	try{
	
		FileInputStream fstream = new FileInputStream(sFile);  
		DataInputStream in = new DataInputStream(fstream);
		  BufferedReader br = new BufferedReader(new InputStreamReader(in));
		  String strLine;
		  //Read File Line By Line
		  while ((strLine = br.readLine()) != null)   {
			  // Print the content on the console
			  System.out.println (strLine);
			  if (strLine.contains(sSearchString)){
				  System.out.println("[" + this.getClass().getSimpleName() + "] VALIDATION - File compare - Pass");
				  bResult = true;
			  }  
			   
		  }
		  //Close the input stream
		  in.close();
		    }catch (Exception e){//Catch exception if any
		  System.err.println("Error: " + e.getMessage());
		  }
	
	if (bResult == false){
		  System.out.println("[" + this.getClass().getSimpleName() + "] VALIDATION - File compare - Fail");
	}
	
   try {
        Thread.sleep(2000);} 
	   catch (InterruptedException e) {
        e.printStackTrace();  	
	   }
	
}