ist version with restler - pain
Added the switch option between file and url
update
index changed