fixing filetype detection
Fix license