added upload file feature. need to solve duplicate file name bug