in reply to read whole file in a directory
BTW, why do you use double vertical bar? It means 'or nothing or' to Perl.