Choose File > Close to close the active file.
If you have multiple tabs open, hold Option and choose File > Close All to close all open files.