public static HashMap<String, File> prepareDictionaryFiles(String path){
		File dir = new File(path);
		
		if (!dir.isDirectory()){
			return null;
		}
		
		HashMap<String, File> map = new HashMap<String, File>();
		File[] files = dir.listFiles();
		
		for (File file : files){
			if (!file.isFile()){
				continue;
			}
			
			if (file.getName().endsWith("ifo")){
				map.put("ifo", file);
			}
			else if (file.getName().endsWith("idx")){
				map.put("idx", file);
			}
			else if (file.getName().endsWith("dz")){
				map.put("dict", file);
			}
		}
		
		return map;
	}