@Override
    public ResultModel postExecution(GfshParseResult parseResult, ResultModel commandResult,
        Path tempFile) throws Exception {
      commandResult.saveFileTo(saveDirFile);
      return commandResult;
    }
Interceptor used by gfsh to intercept execution of export config command at "shell".
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/ExportConfigCommand.java