public void makeDir(String dirname) {
        File dir = new File(dirname);
        try {
            if(!dir.isDirectory()) {
                if(dir.exists()) {
                    dir.delete();
                }
                dir.mkdir();
            }
        } catch (Exception e) {
            ExceptionLog.println("Ошибка создания директории " + dirname);
        }
    }