Added new code for recreating the pt reweighting files with event weights applied first.