Implements recursive any path retrieval with '*'.