code: func checkDirectoryNotExists(path string, errorMessage string) {
  	_, err := os.Stat(path)
  	if err == nil {
  		handleError(errors.New(errorMessage))
  	}
  }
docs: // checkDirectoryNotExists checks whether a directory with the given path already exists and exits if this is the case