added method getBaseName