To close a file, choose File > Close,
or click the Close button in the upper right corner of
the file's title bar.
If multiple files are open, you can close them all by choosing Window > Close All. When closing a file, you will be prompted to save any previously unsaved modifications.