MofNfs save file and restore file, plus bug fixes