code: function onSuccess(path, callback, type) {
    if(type !== 'resume') {
        fire('open.success', path);
        if (typeof callback === 'function') {
          callback(path);
        }
    } else {
        fire('resume', path);
    }
    return path;
  }
docs: onSuccess
  
  @param {String} path File URI
  @param {Function} callback Callback
  @param {type} type of success event
  @returns {String} File URI