Optional
keep only paths the predicate accepts, after stripping
leading path components to drop; a GitHub tarball wraps everything in one directory
keep only paths the predicate accepts, after stripping