Move getStringWithoutPrefix to Util
Support creating jars from files