public function getFileType() { $dataMimeType = explode('/', $this->mime_type); return (string) $dataMimeType[0]; }