added upload api
added api and remove upload files