enable file upload. enhance the router to dispatch request if the path name matching the request handler's method name