making delim type configurable for csv sample