remove garbage in merged files.