be sure to use the temporary mem-file when defining a variable