Can a param Value that is passed to an include be used as a reference?

For instance, with the sdef below can the value in the File property be seen by the included composite? The visible-when below will of course always produce the same result... is there some way, using the param value, to reference to the File property?

The motivation for this is that depending on where the composite is included, the path to the property can change. I would like to pass the property path to the include.

I have seen a couple of places where the Params field of the Include part is used but my use case does not seem to be captured by any of them.