change assertion messages to include the source line and token
use readFileSync() with encoding