support multiple root dirs (works like PATH)