private void loadDirectory(File f){
        if (f.isDirectory()){
            File[] files = f.listFiles();
            if (files == null){
                return;
            }
            for (File f1 : files){
                if (f1.isDirectory()){
                    loadDirectory(f1);
                } else {
                    String s2 = workPath(f1);
                    Sound sound = new Sound(f1);
                    EnumSoundLoadError b = system.loadSound(sound);
                    if (b != EnumSoundLoadError.ERROR_NULL){
                        GameApplication.engineLogger.warning("Failed to load sound, " + s2 + " : " + b.name());
                    } else {
                        soundsMap.put(s2, sound);
                        GameApplication.engineLogger.info("Successfully added sound, " + s2);
                    }
                }
            }
        }
    }