Removes a deprecation warning [DEPRECATION] Argument as FileStreamer-like object is deprecated. Use path to file instead.
[DEPRECATION] Argument as FileStreamer-like object is deprecated. Use path to file instead.