export file and print file3