    # File lib/chef/cookbook_version.rb, line 569
        def load_recipe(recipe_name, run_context)
          unless recipe_filenames_by_name.has_key?(recipe_name)
            raise ArgumentError, "Cannot find a recipe matching #{recipe_name} in cookbook #{name}"
          end

          Chef::Log.debug("Found recipe #{recipe_name} in cookbook #{name}")
          recipe = Chef::Recipe.new(name, recipe_name, run_context)
          recipe_filename = recipe_filenames_by_name[recipe_name]

          unless recipe_filename
            raise Chef::Exceptions::RecipeNotFound, "could not find recipe #{recipe_name} for cookbook #{name}"
          end

          recipe.from_file(recipe_filename)
          recipe
        end