all custom callback to apply file-based upload path differentiation