added option log-file and option FILE to log-output; use in main and adjusted unit...