public function is_allowed_filesize() { return $this->max_size === 0 or $this->max_size > $this->file_size; }