Crossplatform directory search: part 1