save files before dropping collections