file size check at server side