change file detection from strpos to substr to match only file extensions and ignore e.g. ".xml.swp" or ".xml.testing" files
Merge pull request #53 from sbWoW/development

Restrict file searches to only use specific file extensions