General cleanup...
Fixing the source file pattern match algorithm.