PHP helper class for CSV files