private static FileHandler addFileLogging() {
        if (handler == null) {
            try {
                handler = new FileHandler(System.getProperty("user.dir") +
                        "\\" +
                        TwisterPropertiesFinder.fileName,
                        TwisterPropertiesFinder.isAppend);
                logger.addHandler(handler);
            } catch (IOException e) {
                logger.severe(e.getLocalizedMessage());
                return null;
            }
        }
        return handler;
    }