code: protected function removeBkFile()
      {
          if (!$this->options["backup"]) {
              return;
          }
  
          // Remove backup file if the write was successful
          if (!$this->writeErrors && $this->bkFilePath) {
              unlink($this->bkFilePath);
          }
      }
docs: Closes the backup file
  
  Removes it if the write operation to the original file ended successfully
  
  @return void