public function loadAll()
 {
     foreach ($this->paths as $path) {
         $files = array_filter(FS::files($path['path']), function ($file) {
             return substr($file, -4, strrpos($file, '.json')) === "json";
         });
         foreach ($files as $file) {
             $config_file = untrailingslashit($path['path']) . DIRECTORY_SEPARATOR . $file;
             $this->add($config_file, $path['url'], $path['groups']);
         }
     }
 }