add method uploadFiles