Return the path used as root in a file
For instance, inside a sub-module M in a file "foo.ml", the path will be "foo.ml.M"
M