fix: wrong determination whether file or URL
added examples in README.md