System.out.println("In group directory " + group);
File[] playerfiles = fdir.listFiles();
for(File pfile : playerfiles) {
if(pfile.getName().endsWith(".yml") && !pfile.getName().endsWith(".ec.yml")) {
String suuid = pfile.getName().substring(0, pfile.getName().lastIndexOf("."));
OfflinePlayer player1 = Bukkit.getOfflinePlayer(UUID.fromString(suuid));
System.out.println("Importing player " + player1.getName() + " with UUID: " + suuid);
MIPlayerFile playerfile = new MIPlayerFile(player1, fdir.getName());
MIYamlFiles.con.saveExperience(player1, group, playerfile.getTotalExperience());
if(playerfile.getGameMode() != null) {
MIYamlFiles.con.saveGameMode(player1, group, playerfile.getGameMode());
}