combine filehandler and uploadhandler next