Utility for synchronously loading plugins in specified folders