The output of your command "
basename CH2.cgi
" is:
CH2.cgi