public HashMap count(String fileName, String word) throws IOException{
		hash.put(word, null);
		FileReader fr = new FileReader(fileName);
		StreamTokenizer in = new StreamTokenizer(fr);
		int count = 0;
		while(in.nextToken() != StreamTokenizer.TT_EOF){
			if(in.ttype == StreamTokenizer.TT_WORD){
				if(in.sval.equals(word)){
					count++;
				}
			}
		}
		hash.put(word, count);

		return hash;	
	}