Fully working version. Splits the plate across 4 files as desired.