public static void main(String[] args) 
	{
		HashMap<Integer,GameData> g=new HashMap<Integer,GameData>();
		Vector<Integer> index=new Vector<Integer>();
		CalculatingConsole c = new CalculatingConsole();
		HashMap<String,PlayerData> p =new HashMap<String,PlayerData>();
		for(File f: new File("./").listFiles())
		{
			String s=f.getName();
			if(s.endsWith("detail.txt"))
			{
				int i = new Integer(s.substring(s.indexOf("detail.txt")-13, s.indexOf("detail.txt")).replace("-", ""));
				System.out.println(i);
				index.add(i);
				g.put(i, new GameData(s));		
			}
			if(s.endsWith(".csv")&& !(new File(s.substring(0, s.indexOf(".csv"))+"detail.txt").exists()))
			{
				p.put(s.substring(0, s.indexOf(".csv")), new PlayerData(s));
			}
		}
		//at this point, all the data should be in the appropriate places
		Collections.sort(index);
		c.dostuff(g,index,c,p);
		
		
	}