export file and print file2