Ajay | Added logging to debug file type issue