now saving log file