code: public static void append(Path self, Object text) throws IOException {
          Writer writer = null;
          try {
              writer = new OutputStreamWriter(Files.newOutputStream(self, CREATE, APPEND), Charset.defaultCharset());
              InvokerHelper.write(writer, text);
              writer.flush();
  
              Writer temp = writer;
              writer = null;
              temp.close();
          } finally {
              closeWithWarning(writer);
          }
      }
docs: Append the text at the end of the Path.
  
  @param self a Path
  @param text the text to append at the end of the Path
  @throws java.io.IOException if an IOException occurs.
  @since 2.3.0