Currently, we only support the String function type; we have no support at present for the File function type. Adding support for files is on our road map for eventual support, but I can’t give you a time estimate at present.
Also, be aware that the support for Custom Function nodes is limited to a very basic subset of HLSL (described in the document I linked above).
No timeline at present, but it is something we’re aware of. Currently, the underlying platform only supports 2D textures, so we are looking into the possibility of emulating cube map textures, 3D textures, and possible texture arrays by packing them into 2D textures and using custom MaterialX to sample them.