got rid of unnecessary filetypes array. Use contenttypes array instead.