private static void initText() throws FileNotFoundException, IOException {
        java.io.BufferedReader reader;
        String line;
        String[] splitLine;
        for (File f : Main.filenameResolver.listFiles("localisation")) {
            if (!f.getName().endsWith(".csv"))
                continue;   // Could use a FileFilter or FilenameFilter
            
            if (f.length() <= 0) {
                continue;
            }
            
            reader = new java.io.BufferedReader(new java.io.FileReader(f), Math.min(1024000, (int)f.length()));
            try {
                while ((line = reader.readLine()) != null) {
                    if (line.startsWith("#"))
                        continue;
                    splitLine = semicolon.split(line); //line.split(";");
                    if (splitLine.length < 2) {
                        if (!line.contains(";")) {
                            // If it contains ";", then it's probably just a line like ;;;;;;;;;;;;
                            // If not, we need to know what it is.
                            System.err.println("Malformed line in file " + f.getPath() + ":");
                            System.err.println(line);
                        }
                        continue;
                    }
                    text.put(splitLine[0].toLowerCase(), splitLine[1]);   // English
                }
            } finally {
                reader.close();
            }
        }
    }