add http to open in local
[#1] add setObject
add sample
edit($file) function
use built in web service for testing