File export based on uniqueId