public function getFilename() { $document = $this->getDocument(); if (isset($document['filename'])) { return $document['filename']; } return null; }