Remove file on destroy, listen for process exit