open(FILE, $file ) or die "could not read file: $!"; binmode FILE; my $raw = do { local $/; }; close(FILE);