public void fileScan() throws FileNotFoundException{
		Scanner in = new Scanner(f);
		in.nextLine();
		while(in.hasNextLine()){
			boolean toClient=true;
			String[] line = in.nextLine().split("\",\"");
				/*Exceptions*/
//				if(line[4].contains("RELOAD"))
//					break;
				if(!line[4].equals("TCP"))
					continue;
				//determine the direction of this pkg
				if(!line[3].equals(cltIP)){
					toClient=false; //this is a pkg sent from client to master
				}
				
			double len = Double.parseDouble(line[5]);
			int countIndex=3;
			System.out.println(line[6]);
			String[] info=line[6].split(" ");
			
//			if(info[3].equals("[FIN,"))
//				break;
			
			String port;
				if(toClient==true){
					port = info[2];
					countIndex = 2;
				}else{
					port = info[0];				
				}
			System.out.println("Port is: "+port);
			if(infoTable.containsKey(port)){
				double[] tmp = infoTable.get(port);
				tmp[countIndex]++;
//				tmp[4]+=len;//TCP size
				tmp[4]+=findLength(info); //only data length
				if(line[6].contains("[FIN")) //toClient==false && 
//				tmp[1]= findTSval(info);   //accurate time
					tmp[1]=Double.parseDouble(line[1]); //capture time stamp, not accurate
				infoTable.put(port, tmp);
			}else{
				//has to be the SYN pck from the client
				double[] tmp = new double[5];
//				tmp[0]= findTSval(info);
				if(line[6].contains("[SYN]"))
				tmp[0]=Double.parseDouble(line[1]); //capture time stamp, not accurate
//				tmp[4]+=len;
				tmp[4]+=findLength(info); //only data length
				tmp[3]=1;
				infoTable.put(port, tmp);
			}
	
		}
	}