first commit to produce a weight object from LHE files