code: private static void initLogFile() {
      try (BufferedWriter bw = new BufferedWriter(new FileWriter(getLogPath()))) {
        Date date = new Date();
        bw.write("LT office integration log from " + date.toString() + logLineBreak);
      } catch (Throwable t) {
        showError(t);
      }
    }
docs: Initialize log-file