docs: static void close(boolean delete) {
          if (openedFile != null) {
              out.close();
              out = System.err;
  
              if (delete) {
                  openedFile.delete();
              }
          }
      }