added file input to web demo (fixes #97)