recognize some common filetypes