set up condition for file upload size