private static int collisionTestOnFile(Path path, HashFunction func) {
		int comp = 0;
		Hashtable<Integer, String> tab = new Hashtable<Integer, String>();
		
		for (String s : new WordReader(path) ) {
			int hash = func.hashString(s);
			if (tab.containsKey(hash))
				comp++;
			else
				tab.put(hash, s);
		}
		
		return comp;
	}