Suppose I want to process all the files in a particular folder other than xml file .How would you do it ?

 Requirement : We have a folder with  different types of files are stored like excel, csv, xlsx ,xml etc..

So, i need to process all the files expect xml files .