How to explore a folder and delete a specific file like html or text file automatically using perl script?