Made the maxFilesize message configurable.