Add function to import contents from csv