fixed bag with wrong file during processing