Nodejs app  that search for file extension in the terminal