I am working on a problem where I want to find out the type of files if the file name is having an extension or not. Also, find out if the extension is correct or not. Cas