Added support for jar files (to be finished)