public void analyseForKeywords(String filename)
    {
        LinkedList<String> foundKeywords = extractKeywords(filename);
        
        
        Vector<String> keywordsToAdd = new Vector<String>();
        
        for (String word : foundKeywords)
        {
            word = word.toLowerCase();
            //for each word increment count for possible count

            if (keyWordCount.containsKey(word))
            {
                int i = keyWordCount.get(word);
                if (i < Integer.MAX_VALUE)
                {
                    i++;
                    keyWordCount.put(word, i);
                }

                if (!keywords.contains(word) && i >= Settings.NEW_KEYWORD_OCCURANCE_COUNT)
                {
                    System.out.println("Adding new keyword: " + word);
                    keywords.add(word);
                }
            }
            else
                keyWordCount.put(word, 1);
            
        }
    }