in reply to How to dereference with sub hashes array...?

Your output tells you that you are getting references to arrays. You only need to dereference them like this:

foreach my $line ( @{$href->{$file}} ) {