Added wrappers for static methods in FileManaged
Separated saveFile process, for easier mocking support