Closing just the bufferedFileStream is actually enough, that should simplify things a bit.