[#2212] CID26037:

CLarify TOCTOU issue (namely, we don't check the file in order to open
it, we simply check the file and then open it regardless)