code: public static Path appendLinesAndClose(String filePath, String... lines) {
          return appendLinesAndClose(filePath, UTF_8, lines);
      }
docs: Append lines and close path.
  
  @param filePath the file path
  @param lines    the lines
  @return the path