Mam folder z kilkoma plikami. Chcę wyświetlić następujące informacje:
filename_1
first line of file1
second line of file1
third line of file1
filename_2
first line of file2
second line of file2
third line of file2
filename_3
first line of file3
second line of file3
third line of file3
itp. Jak mogę to zrobić?