I have updated the code to allow the user to pass a what ever number of file formats they wish to look for in a folder.