Help for this page
my $filename=sprintf("%s/filename1.log.%s",$file_dir,$todayDate);
my $filename="${file_dir}/filename1.log.${today_date}";