private void readProperties() {
        try {
            this.properties = new Properties();
            File propertiesFile = new File(this.pathToJar + File.separatorChar + CONFIG_NAME);

            if (!propertiesFile.exists()) {
                try (FileOutputStream propertiesOut = new FileOutputStream(propertiesFile)) {
                    propertiesFile.createNewFile();

                    initDefaultProperties(properties, propertiesOut);
                }
            }
            try (FileInputStream propertiesIn = new FileInputStream(propertiesFile)) {
                properties.load(propertiesIn);
            }

        } catch (Exception e) {
            e.printStackTrace();
            //Logger.getLogger(ConfigManager.class.getName()).log(Level.SEVERE, null, e);
        }
    }