my $content = do { open my $fh, '<', $file or die $!; local $/; <$fh> };