public static boolean readFailure(String fileName,int nodeID){
		System.out.println("Reading Failure for"+nodeID);
		BufferedReader bReader = null;

		try {
			bReader = new BufferedReader(new FileReader(fileName));
			String line = bReader.readLine();
			boolean firstLine=true;
			while(line!=null){
				if(firstLine){
					firstLine=false;
				}else{
					StringTokenizer st = new StringTokenizer(line, ",");
					//1.NODE ID
					int nodeIDLoop=Integer.parseInt((String) st.nextElement());
					
					if(nodeIDLoop==nodeID){
						failureStartTime=Long.parseLong((String) st.nextElement(),10);
						failureDuration=Long.parseLong((String) st.nextElement(),10);
					}
					
				}
				line = bReader.readLine();
				if(line!=null && line.length()==0)
					break;
			}
			return true;
		}catch (IOException e) {
			e.printStackTrace();
			System.out.println("*********************************************************");
			System.out.println("Exception in reading config"+e.toString());
			return false;
		} finally {
			try {
				if (bReader != null)
					bReader.close();
			} catch (IOException ex) {
				ex.printStackTrace();
			}

		}
		
	}