- fixed not working and sometimes crashing file-extensions check