Fixed new log file creation