createDF function

Create a dataframe from a CSV file