close some open files.