Export file as PDF