Removed 'filetypes' variable. Not needed/used.