Fixed comment for Program class
- File extensions are now converted to uppercase, to avoid false negatives
- Moved file extension conversion into extension method, to make sure it's done the same everywhere