Scieneer Common Lisp 1.3.9 online documentation

with-open-file (var &rest open-args) &parse-body (forms decls)[Macro]

Bindspec is of the form (stream file-name . options). The file whose name is file-name is opened using the options and bound to the variable stream. If the call to open is unsuccessful, the forms are not evaluated. The forms are executed, and when they terminate, normally or otherwise, the file is closed.