print "Enter basename: "; my $filename = ; chomp $filename;