private void fillData(Map<String, Object> dmap, File root) {
        try {
            File[] files = root.listFiles();
            if (files != null && files.length > 0) {
                for (File f : files) {
                    if (f.isDirectory()) {
                        fillData(dmap, f);
                    } else {
                        InputStream input = new FileInputStream(f);
                        Yaml yaml = new Yaml();
                        Object data = yaml.load(input);
                        input.close();
                        dmap.put(f.getName().substring(0, f.getName().length() - 4), data);
                    }
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(1);
        }
    }