adding check for upload_max_filesize