my $time = localtime(); foreach my $allfilesfound (@dir_contents) { print "This file=$allfilesfound tooke $time to be open
"; }