handle case when log file does not exist