fix for unknown file types
Merge pull request #2 from czeslaaw/master

fix for unknown file types