private void writeLine(String line, BufferedWriter writer) {
    try {
      writer.write(line);
      writer.newLine();
    } catch (IOException e) {
      throw new RuntimeException("Unable to write to log file", e);
    }
  }
@return Path to the zip file that has all the filtered files, null if no files are selected to
        export.
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/util/LogExporter.java