Alert user when uploading an invalid file