function getResolveFunc(step) {
  switch(step.type){
    case UPDATE: return performUpdate;
    case SAVE: return performSave;
    case REMOVE: return performRemove;
    case FILE_SAVE: return performFileSave;
    case FILE_REMOVE: return performFileRemove;
  }
}
The appropriate function to resolve a
step

@param step the step to resolve

@returns a function to handle the step