now display an alert when uploading a a file with unauthorized extension