Not sure I like the blocking readFileSync here... how often is this going to be called? Wouldn't it be better to refactor this to use the async readFile instead?