Fixed mkdir, path and subFolder statements. Unit test (Windows) successfull.