having trouble w/ .tmp file.