Restrict the filetypes that are accepted for upload.