Split multiple filetypes on ".".

Thanks @kljohann