I am trying to to figure out how to get the scope of the context right when using file based routes. Has anyone done this?