add txt file close