pub fn stream_from_file( tex_manager: Arc<RwLock<TextureManager>>, path: &Path, config: &Config, ) -> Result<Stream>