add file close in data_clean