bugfix for uninitialized variable
a few new file type detection patterns
Merge remote-tracking branch 'origin/develop'