better error reporting: print on OK
make sure that paths have a trailing '/'