code: func shouldIgnoreFile(filename string) bool {
  	for _, regex := range ignoredFilesRegExps {
  		r, err := regexp.Compile(regex)
  		if err != nil {
  			beeLogger.Log.Fatalf("Could not compile regular expression: %s", err)
  		}
  		if r.MatchString(filename) {
  			return true
  		}
  		continue
  	}
  	return false
  }
docs: // shouldIgnoreFile ignores filenames generated by Emacs, Vim or SublimeText.
  // It returns true if the file should be ignored, false otherwise.