Rename variable "basename"