code: func (a *Assertions) FileExists(path string, msgAndArgs ...interface{}) {
  	if h, ok := a.t.(tHelper); ok {
  		h.Helper()
  	}
  	FileExists(a.t, path, msgAndArgs...)
  }
docs: // FileExists checks whether a file exists in the given path. It also fails if the path points to a directory or there is an error when trying to check the file.