usage: logfile as first argument
v0.4.1