$mime = finfo_file($finfo, RP_DOWNLOAD_DIR . $dstfile);