    # File lib/yard/templates/template.rb, line 261
          def file(basename, allow_inherited = false)
            file = self.class.find_file(basename)
            raise ArgumentError, "no file for '#{basename}' in #{self.class.path}" unless file

            data = IO.read(file)
            if allow_inherited
              superfile = self.class.find_nth_file(basename, 2)
              data.gsub!('{{{__super__}}}', superfile ? IO.read(superfile) : "")
            end

            data
          end