rework to match the style and be more os independent

1 job for object-file-search-hierarchical in 56 seconds (queued for 1 second)