Bash script to watch files and directories changes. Log and count via statsd