extract paths