Debug file upload with refactored contentProcessing