open(my $logfile, '+>', $fullLogFile) or die "Cannot open '$fullLogFile' for writing: $!";