adding check for use of '.csv' in import/export