I am trying following function to check file data exist or not if not exist it will display validation message on console.
<