common-path-start

Detects the same starting part of the path in an array of file paths.