public boolean retrieveWords(File language)
    {
        try
        {
            Scanner sc = new Scanner(language, "UTF-8");
            if (!isValidLanguageFile(sc))
                return false;
            
            words.clear();
            while (sc.hasNextLine())
                mapWord(sc.nextLine());
            sc.close();
        }
        catch (FileNotFoundException e)
        {
            return false;
        }
        return true;
    }