OptionalbucketOptionalchunkNumber of bytes stored in each chunk. Defaults to 255KB
OptionalreadRead preference to be passed to read operations
Optional ExperimentaltimeoutMSSpecifies the lifetime duration of a gridFS stream. If any async operations are in progress when this timeout expires, the stream will throw a timeout error.
OptionalwriteWrite Concern as an object
The 'files' and 'chunks' collections will be prefixed with the bucket name followed by a dot.