Does CSV.read() block the file? IS there XLSX.close(), since XLSX.Open() exist

Does CSV.read() block the file?
It seems that yes? how to unblock?

The same question about XLSX.open()

Thank you in advance.

CSV.read() just goes to the end of the file and then releases it, so there’s no need to close it.

Currently, XLSX openxlsx methods keep a stream opened until you use XLSX.close method.

The alternative is to use XLSX.readxlsx, which will read the entire file at once and close the stream before returning.