Fixed bug where folders were not created: now using '/' as the directory separator.
Test npa now checks folders first.
Removed debug log.