I want to implement such a function : i input a filename without extension and a file list of a folder, then the program return corresponding extension of this filename. For exa