I would like to combine an object, a path in a variable and a path, something like explained in https://stackoverflow.com/a/43849204/14480225 but with 3 "p