##
use warnings;
####
use Strict;
use File::Stat;
use Digest::MD5;
print "Enter the Path where all the data files are available:\t";
####
$sourcedir= ;
chomp($sourcedir);
## ##
open(LOG ,">>D:\\prad\\log1.csv");
####
open my $fh, '>>', 'path/to/file' or die $!;