Add file logger and sig handler

Signed-off-by: Jeff Horn <jhorn@reachtech.com>