Now that you're doing this from a node.js route, it might make sense to move to an async read, with callback.