add config file and file upload to server