public function get_backup_filename() { if ($this->is_started()) { $status = json_decode(file_get_contents($this->get_status_filepath())); if (!empty($status->filename)) { $this->filename = $status->filename; } } return $this->filename; }