$output = $timestamp .'.sql'; open(my $fh, '>', $output) or die "Could not create file '$output': $!";