Use trap EXIT to cleanup temp file