core-4356 fix file viewer default type