In case I have a file called "info.alex.txt", the basename would return "info". Consequently, this file would take preference over kinfocenter when searching for "info".