final save before removing local files