The Import_CloseFile() function closes the text file opened by Import_OpenFile() and releases the file_ID.
Import_CloseFile(file_ID)
• file_ID – The unique file ID assigned by Import_OpenFile().
An integer indicating the result of the file close. If 0 is returned, the function closed the file successfully. If the file_ID is returned, the function couldn’t close the file successfully.
Always close a text file once you’ve completed reading it, or if you receive an error condition while opening it using Import_OpenFile().