upload R and png files