code: func (g *Generator) fileServerMethod(fs *design.FileServerDefinition) string {
  	var (
  		suffix string
  
  		wcs      = design.ExtractWildcards(fs.RequestPath)
  		reqElems = strings.Split(fs.RequestPath, "/")
  	)
  
  	if len(wcs) == 0 {
  		suffix = path.Base(fs.RequestPath)
  		ext := filepath.Ext(suffix)
  		suffix = strings.TrimSuffix(suffix, ext)
  		suffix += codegen.Goify(ext, true)
  	} else {
  		if len(reqElems) == 1 {
  			suffix = filepath.Base(fs.RequestPath)
  			suffix = suffix[1:] // remove "*" prefix
  		} else {
  			suffix = reqElems[len(reqElems)-2] // should work most of the time
  		}
  	}
  	return "Download" + codegen.Goify(suffix, true)
  }
docs: // fileServerMethod returns the name of the client method for downloading assets served by the given
  // file server.
  // Note: the implementation opts for generating good names rather than names that are guaranteed to
  // be unique. This means that the generated code could be potentially incorrect in the rare cases
  // where it produces the same names for two different file servers. This should be addressed later
  // (when it comes up?) using metadata to let users override the default.