folders have a trailing slash, confusing difference between File based and Jar based