code: function calculateHash(file, fn) {
    read(file, function(err, bin) {
      if (err) return fn(err);
      fn(null, hash('sha256').update(bin).digest('hex'));
    });
  }
docs: Calculate hash for a file
  
  @param {String} file
  @param {Function} fn