public function getFileObject() {
        if ($this->getAttrib('data-type') === Garp_File::TYPE_IMAGES) {
            $file = new Garp_Image_File();
        } else {
            $file = new Garp_File();
        }
        return $file;
    }