log file

start writing something for output to console and file at the same time