Updated saveFileManager