added option to not expand jar files