async createFileRecord (data, version = 1) {
    this.logger.debug('Creating file records')
    const fileIds = {
      metaId: 0,
      videoId: 0,
      storyboardId: {}
    }

    const storageDataList = [
      JSON.stringify({ fileId: data.fileInfo.id }),
      JSON.stringify({ fileId: data.videoId })
    ]

    if (version === 1) {
      for (const i in data.storyboardList) {
        const item = data.storyboardList[i]
        storageDataList.push(JSON.stringify({ fileId: item.id }))
      }
    }

    const result = await file.createFilesRecord(this.id, storageDataList)

    fileIds.metaId = result[JSON.stringify({ fileId: data.fileInfo.id })]

    fileIds.videoId = result[JSON.stringify({ fileId: data.videoId })]

    if (version === 1) {
      for (const i in data.storyboardList) {
        const item = data.storyboardList[i]
        fileIds.storyboardId[i] = result[JSON.stringify({ fileId: item.id })]
      }
    }

    return fileIds
  }
Create file records for file bundle

@param {Object} data files info

@returns {Object} file ids