import curve from csv