code: function readFile(fileName) {
    try {
      return read(fileName);
    } catch (e) {
      print(fileName + ': ' + (e.message || e));
      throw e;
    }
  }
docs: A thin wrapper around shell's 'read' function showing a file name on error.