implemented and tested ApplicationPidFile