Determining path from context