collector: save history of files