code: func (b *Builder) shouldParseFile(path string) bool {
  	configFormat := b.stringVal(b.Flags.ConfigFormat)
  	srcFormat := FormatFrom(path)
  
  	// If config-format is not set, only read files with supported extensions
  	if configFormat == "" && srcFormat != "hcl" && srcFormat != "json" {
  		return false
  	}
  	return true
  }
docs: // shouldParse file determines whether the file to be read is of a supported extension