added upload function to GFS object