public PropertyHandler(File propertyFile) {
        this.file = propertyFile;

        if (propertyFile.exists()) {
            FileInputStream inputStream = null;

            try {
                inputStream = new FileInputStream(propertyFile);
                this.properties.load(inputStream);
            } catch (IOException e) {
                MaintenanceServer.LOGGER.warning("Failed to load " + propertyFile);
                this.saveProperties();
            } finally {
                if (inputStream != null) {
                    try {
                        inputStream.close();
                    } catch (IOException e) {
                        // Swallow
                    }
                }
            }
        } else {
            this.saveProperties();
        }
    }