Opens pdf afterwards