close some files after opening.