@SuppressWarnings("unchecked")
	private static HashMap<String, Integer> addFile(File cardFile, HashMap<String, Integer> m) 
			throws FileNotFoundException {		
		HashMap<String, Integer> newMap = (HashMap<String, Integer>) m.clone();
		Scanner sc = new Scanner(cardFile);
		sc.useDelimiter("\\s*\n");
		while(sc.hasNext()){
			String line = sc.next();
			Card c = Card.parseLine(line);
			
			String name = c.getName();
			
			Integer v1 = newMap.get(name);
			if(v1 == null) {
				v1 = 0;
			}
			Integer v2 = c.getCount();
			
			if(v2 > v1) {
				v1 = v2;
			}
			newMap.put(name, v1);
		}		
		return newMap;
	}