adds server side min file upload validation