SCL Reference: file_close() Function

The SCL file_close() function closes a previously opened file

file_close(fileVar)

The variable fileVar should have been initialized by a prior call to file_open.