create csv file import logic