shorter example
properly passing file and sourceRoot
api and example in readme