Rewrite FileManager to use parts when saving