Split file into one file per plot