Added progress bar for exporting files