The problem I have with this is the vendor file could be any number of arbitrary directories above the current one.