A Download object is usually created by calling [[Collection::get()]] or [[Collection::createDownload()]].
Usage example:
php
Yii::$app->mongodb->getFileCollection()->createDownload($document['_id'])->toFile('/path/to/file.dat');
You can use Download::substr() to read a specific part of the file:
php
$filePart = Yii::$app->mongodb->getFileCollection()->createDownload($document['_id'])->substr(256, 1024);