added collection and collection history file in clear_data