Added support for stripping leading path segments

closes #95