Trace to file on top level. Write log to file.