public static MultiCastMessage readMessage(String fileName) {
		ArrayList<Message> results = new ArrayList<Message>();
		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, ",");
					int senderNodeID=Integer.parseInt((String) st.nextElement());
					if(senderNodeID==nodeID){
						String[] message = new String[3];
						if (st.countTokens() == 3) {
							message[0] = (String) st.nextElement();
							message[1] = (String) st.nextElement();
							message[2] = (String) st.nextElement();
							Message msgObj=new Message("",currentNode.getAddress(),currentNode.getPortNumber(),message[0],Integer.parseInt(message[1]),0,message[2]);
							results.add(msgObj);
						} else {
							System.out.println("Error in reading line");
						}
					}
				}	
				line = bReader.readLine();
				if(line!=null && line.length()==0)
					break;
			}
			MultiCastMessage objMulti=new MultiCastMessage(results);
			return objMulti;
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try {
				if (bReader != null)
					bReader.close();
			} catch (IOException ex) {
				ex.printStackTrace();
			}

		}
		return null;
	}