Actually return $basename