added connect include at fileupload and updated config sample