Checking in Java class used to extract chunks; relies on MITs JWI library