Validating empty excel file upload

Hi, how to validate an empty excel file while uploading using file upload component. Parse Excel to CDT smart service fails if the excel sheet is blank. 

  Discussion posts and replies are publicly visible