Add weight adjusts for multiple input files case.