i2c Serial to Printer

Hi everyone!
I have a 3D printer with repetier firmware. It’s onboard of a Gen 6. Still works great!.
I would like an Arduino that read from a SD the G-code, send via i2c to the Gen 6 and the Gen 6 just print. Can anyone guide me on that?