I am using Saxon 9.4 HE. For a stylesheet I am working on I need some of the functionality of the EXPath file module extensions, in particular file:exists and file:is-dir -- that is, I need to check whether a particular file/directory exists on the file system. But the EXPath file module does not seem to be implemented in Saxon. So my question is this: Are there other extension functions implemented in Saxon that I can use, extension functions that are equivalent to file:exists and file:is-dir?

Thank you in advance for your help.