code: public function appendToFile(string $line)
      {
          $file = $this->openFile(static::FILE_APPEND);
          $file->fwrite($line);
          $this->closeFile($file);
      }
docs: Append a line to the database file.
  
  @param string $line