open(my $fh, "<", $stripped_file) or die "Could not open $stripped_file because $!\n"; my @text = <$fh>; close($fh);