upload R and PNG files