cleaning after processing the files