code: func Load(recurse bool) (*DirPreferences, error) {
  	path, err := os.Getwd()
  	if err != nil {
  		return nil, err
  	}
  
  	prefs := &DirPreferences{}
  
  	var f *os.File
  	for {
  		f, err = os.Open(filepath.Join(path, ".torus.json"))
  		if err != nil {
  			if isSystemRoot(path) || !recurse {
  				return prefs, nil
  			}
  
  			path = filepath.Dir(path)
  			continue
  		}
  
  		break
  	}
  
  	defer f.Close()
  
  	dec := json.NewDecoder(f)
  	err = dec.Decode(prefs)
  	if err != nil {
  		return nil, err
  	}
  
  	prefs.Path = f.Name()
  	return prefs, nil
  }
docs: // Load loads DirPreferences. It starts in the current working directory,
  // looking for a readable '.torus.json' file, and walks up the directory
  // hierarchy until it finds one, or reaches the root of the fs.
  //
  // It returns an empty DirPreferences is no '.torus.json' files are found.
  // It returns an error if a malformed file is found, or if any errors occur
  // during file system access.