code: function loadMockFromFile (fileName, options) {
      // make sure options is object
      options = requireValidOptionalObject(options)
      // load data from file
      var fileData = fs.readFileSync(fileName, 'utf8')
      // split lines - each line should be valid JSON object
      var lines = fileData.split('\n')
      // load each line
      _.each(lines, (line, lineNum) => {
          // skip empty lines
          if (line === '') {
              return
          }
          // attempt to parse line
          try {
              var mockData = JSON.parse(line)
          }
          catch (ex) {
              // throw error unless ignore option is set
              if (options.ignoreMockDataErrors) {
                  return
              }
              else {
                  // get line number starting at 1 instead of 0
                  lineNum = parseInt(lineNum) + 1
                  // throw error
                  throw new Error('immutable-automock: JSON parse error '+ex.message+' '+fileName+':'+lineNum)
              }
          }
          // load mock data
          loadMock(mockData, options)
      })
  }
docs: @function loadMockFromFile
  
  load mock data from file
  
  @param {string} fileName
  @param {object} options
  
  @throws {Error}