i highly suggest you slurp instead of open + slurp-rest, because that will automatically close the file for you, too.
other than that, you can pass :close to the slurp-rest method and it'll also close the file. if you're not closing the files you're opening, you'll be relying on the garbage collector to do file handle closing for you, which is nondeterministic and a bad idea in general. HTH - Timo