add file size limit to config