code: func removeStateFiles(files []string, conf Config) []string {
  	newFiles := []string{}
  	for _, file := range files {
  		if file == conf.Options.StateFile {
  			logrus.WithFields(logrus.Fields{
  				"file": file,
  			}).Debug("skipping tailing file because it is named the same as the statefile flag")
  			continue
  		}
  		if strings.HasSuffix(file, ".leash.state") {
  			logrus.WithFields(logrus.Fields{
  				"file": file,
  			}).Debug("skipping tailing file because the filename ends with .leash.state")
  			continue
  		}
  		// great! it's not a state file. let's use it.
  		newFiles = append(newFiles, file)
  	}
  	return newFiles
  }
docs: // removeStateFiles goes through the list of files and removes any that appear
  // to be statefiles to avoid .leash.state.leash.state.leash.state from appearing
  // when you use an overly permissive glob