Namespace problem in folder name variable. Fixed.