Read document file with explicit 'encoding' of lwm plugin settings.

Default codec used by 'scala.io.Source.fromFile' depends on system
environment that could have other encoding.