Added capability to set the maximum file size that can be uploaded.