Handle the case when user uploads empty file or does not select a file