Update dependencies.
Handle file:// locations.

- Remove file:// prefix before trying to read as a file path.
Use istanbul for code coverage.
JSON style update.

- Using automatic npm preferred style.
Use document loader.

- Switch from older custom loading code to common document loader.
- Simplify API calls.
- Better error handling in some cases.