    # File lib/rbot/registry.rb, line 126
        def initialize(bot, name)
          @bot = bot
          @name = name.downcase
          @filename = "#{@bot.botclass}/registry/#{@name}"
          dirs = File.dirname(@filename).split("/")
          dirs.length.times { |i|
            dir = dirs[0,i+1].join("/")+"/"
            unless File.exist?(dir)
              debug "creating subregistry directory #{dir}"
              Dir.mkdir(dir)
            end
          }
          @filename << ".db"
          @registry = nil
          @default = nil
          @recovery = nil
          # debug "initializing registry accessor with name #{@name}"
        end