Remove First and Last N Lines of CSV/Flat File in Boomi This Groovy (version 2.4) script is to remove the first and last N lines together from a CSV/Flat file input in Boomi iPaaS.