simplifying get extension logic
simplifying get extension logic

dlockhart/react-valence-ui-fileviewer,dbatiste/react-valence-ui-fileviewer,Brightspace/react-valence-ui-fileviewer,dlockhart/react-valence-ui-fileviewer,dbatiste/react-valence-ui-fileviewer