.close

This statement directs the simulator to close the file 'filename'. 'filename' is specified as a string.

.close filename