What if baseDir doesn't end in a / ?