code: func (gen *Generator) WriteFile(out io.Writer, filename string) error {
  	for _, soyfile := range gen.registry.SoyFiles {
  		if soyfile.Name == filename {
  			return Write(out, soyfile, Options{})
  		}
  	}
  	return ErrNotFound
  }
docs: // WriteFile generates javascript corresponding to the soy file of the given name.