public static boolean readEvents(String name) {
		InputStream is = null;
		try {
			is = new FileInputStream(name);
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	    InputStreamReader isr = new InputStreamReader(is);
		Scanner scan = new Scanner(is);
		
		// skip the first lines
		String numNodes = scan.nextLine();
		while(numNodes != null && !numNodes.equals(separator)) {
			numNodes = scan.nextLine();
		}
		
		while(scan.hasNext()){
			String line = scan.nextLine();
			if(line == null) {
				throw new PositionFileException("The specified file contains not enough informations");	
			}
			
			try {
				String[] parts = line.split(" ");
				if(parts.length < 2) {
					throw new PositionFileException("Illegal line: expected two ints, separated by space. Found \n" + line);	
				}
				int n = Integer.parseInt(parts[0]);
				int shots = Integer.parseInt(parts[1]);
				setTrafficToNode((InterfaceRequiredMethods) Tools.getNodeByID(n), 60, shots);
			} catch(NumberFormatException e) {
				throw new PositionFileException("Illegal line: expected two ints, separated by comma. Found \n" + line);
			}
			
		}
			
		
		/*try {
			String line = reader.readLine();
			if(line == null) {
				throw new PositionFileException("The specified file contains not enough informations");	
			}
			try {
				//while(line != null){
					String[] parts = line.split(" ");
					if(parts.length < 2) {
						throw new PositionFileException("Illegal line: expected two ints, separated by space. Found \n" + line);	
					}
					int n = Integer.getInteger(parts[0]);
					int shots = Integer.getInteger(parts[1]);
					setTrafficToNode((InterfaceEventTest) Tools.getNodeByID(n), 60, shots);
					//return new Position(x,y,z);
				//}
			} catch(NumberFormatException e) {
				throw new PositionFileException("Illegal line: expected three doubles, separated by comma. Found \n" + line);
			}
		} catch (IOException e) {
			throw new PositionFileException(e.getMessage());
		}*/
		
		return false;
	}