Publishing Engine Programmer's Guide > PTC Arbortext Publishing > Arbortext Publishing Engine Server Composer > Arbortext Publishing Engine Server Composer > Writing a Custom Server Application
  
Writing a Custom Server Application
If you write custom code that runs as part of the Arbortext Publishing Engine Server Composer (your own Server Composition Extension, for example) be sure that your code close any files that it opens in the transaction directory, source directory, or target directory. If your code leaves a file open, the Arbortext PE Request Manager will be unable to delete the transaction directory, and the Arbortext Publishing Engine will begin to leak disk space.