truncate $fh,0 || die "could not truncate $dcs_log_file: $!";