./routes/invoices.tsx
./routes/invoices/$invoiceId.tsx
./routes/invoices/$invoiceId/activity.tsx
./routes/invoices/$invoiceId/activity/all.tsx
All these routes will be matched to the same hierarchy that ends with $activity.tsxBut not the following because $activity.tsx has siblings whose file names matches exaclty with the route leaf(all, latest).