if (empty($this->mime) && file_exists(RP_DOWNLOAD_DIR . $this->filepath)) {
            $finfo = finfo_open(FILEINFO_MIME_TYPE); 
            $this->mime = finfo_file($finfo, RP_DOWNLOAD_DIR . $this->filepath);
            $this->commit(); 
        }