Added export-all-files functionality