uploadFile = (path, file, dbPath, options) =>
    storageActions.uploadFile(dispatch, firebase, {
      path,
      file,
      dbPath,
      options
    })
Upload a file to Firebase Storage with the option to store
its metadata in Firebase Database. More info available
in [the docs]().
@param {string} path - Path to location on Firebase which to set
@param {File} file - File object to upload (usually first element from
array output of select-file or a drag/drop `onDrop`)
@param {string} dbPath - Database path to place uploaded file metadata
@param {object} options - Options
@param {string} options.name - Name of the file
@param {object} options.metdata - Metadata for the file (passed as second
argument to storage.put calls)
@returns {Promise} Containing the File object
@see https://react-redux-firebase.com/docs/api/firebaseInstance.html#uploadfile