    # File lib/chef/cookbook/file_system_file_vendor.rb, line 43
          def get_filename(filename)
            location = @repo_paths.inject(nil) do |memo, basepath|
              candidate_location = File.join(basepath, @cookbook_name, filename)
              memo = candidate_location if File.exist?(candidate_location)
              memo
            end
            raise "File #{filename} does not exist for cookbook #{@cookbook_name}" unless location

            location
          end