foreach $file (@files) { next if -l "$directoryName/$file"; print "$file\n\n"; }