Fix minRows type
Add size limit for file uploads #16