Closed jar files after scanning them for relevant elements