public function deleteAll($file, &$db = 0, &$disk = 0, $check = true)
    {
        if (!is_array($file)) {
            $file = $this->get($file);
        }

        if (!isset($file['file_id'])) {
            return false;
        }

        if (!$this->delete($file['file_id'], $check)) {
            return false;
        }

        $db++;

        if (!$this->deleteFromDisk($file)) {
            return false;
        }

        $disk++;
        return true;
    }