Add missing imports so file.managed works

Fixes #5406
Merge pull request #5502 from UtahDave/fix_filemanaged

Add missing imports so file.managed works