code: func ParseCertificateFile(certFile string) (*Certificate, error) {
  	certPEM, err := ioutil.ReadFile(certFile)
  	if err != nil {
  		return nil, err
  	}
  
  	return ParseCertificatePEM(certPEM)
  }
docs: // ParseCertificateFile parses x509 certificate file.