Using relative paths for path filtering