method
close

close(unlink_now=false)
public
Closes the file. If the optional flag is true, unlinks the file after closing.
If you don’t explicitly unlink the temporary file, the removal will be delayed until the object is finalized.