close file so that's it's not locked
Merge pull request #1 from nnutter/ur-test-fixes

close file so that's it's not locked