public static Project readProject(File f)  {
		BufferedReader reader = null;
		Node[]nodes=null;
		
		try {
			reader = new BufferedReader(new FileReader(f));
			String[]tokens;
			String line = null;
			
			while ((line = reader.readLine()) != null) {
				tokens=line.split("\\s+");
				
				if(tokens.length == 1){//first line
					int numberOfNodes=Integer.parseInt(tokens[0])+2;
					nodes=new Node[numberOfNodes];
					for(int i=0; i <numberOfNodes; i++){
						Node node=new Node(i);
						nodes[i]=node;
					}
					continue;
				}
				
				if(tokens.length == 3){//last line
					continue;
				}
				
				int numberOfSuccessors=Integer.parseInt(tokens[2]);
				for(int i=0; i<numberOfSuccessors;i++){
					
					Node.addArc(nodes[Integer.parseInt(tokens[0])], nodes[Integer.parseInt(tokens[3+i])], Integer.parseInt(tokens[3+i+numberOfSuccessors].replace("[", "").replace("]", "")));
				}
	
			}
			reader.close();
		} catch (Exception e) {
			logger.debug(e);
			logger.error("Could not transform file to Project");
		}
		
		Project project=new Project(nodes);
		return project;
	}