exporting total directory