made changes to check the existence of the csv files and removed unused imports
Merge remote-tracking branch 'calendar42/csvExporter' into adapticon

* calendar42/csvExporter:
  made changes to check the existence of the csv files and removed unused imports