removes the export folder with all files before writing new ones