Code to support document extraction from clueweb