New file export feature (courtesy of nodeleaf).