Automatic filing of pdf letter activity within civicase
Go to Administer > CiviCase > Case Types and add "Print PDF Letter" as an allowed activity to your case type. You will then be able to create a PDF directly from the "Manage Case" screen.