// Read all entries
while ($baseFile = readdir($dirPointer)) {
// Steps over this returned $baseFile-Name, when it matches the $excludePattern
if (preg_match($excludePattern, $baseFile, $match)) {
// These Lines are only for debugging!!
// Read all entries
while ($baseFile = readdir($dirPointer)) {
// Steps over this returned $baseFile-Name, when it matches the $excludePattern
if (preg_match($excludePattern, $baseFile, $match)) {
// These Lines are only for debugging!!