rename before and after files