added upload function to file explorer component