updated demo with remote file example