Add ability to save logs in a file

Change-Id: I9b557f193281461357ab4176103dc3c985cf5197