if ( -d "$VnfsName" ) { $VnfsName = basename($VnfsName); $VnfsName = s/\/$//g; }