just pass in a file path

small change to make it easier to configure. Now we just pass in a file path to log too.

@orenmazor