added setter for pid file