add log file creation