track most recent directory used for export-to-file