Use pid file