Fix win filemanaged  fixes #10362

Fixes #10362