public function accept()
    {
        /**
         * @var     \SplFileInfo        $file
         */
        $file = $this->current();
        if ($file->getType()==$this->getType()) {
            return true;
        }
        return false;
    }