Add DownloadHandle::getNumFiles and getFile API
Use getFile(index) API