Add optional name for temp file