PDF Controller and filechooser