$basename is a string.