stat.sh: exit if logfile not found
stat.sh: $1 is optional (log file)